diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-19 20:37:55 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-19 20:38:18 +0200 |
commit | ab8c5404d8e6468204cea83c9d20205f0ab122ed (patch) | |
tree | dc873c3e0614b630e8b183be22aba2314a4c6ed0 /dist | |
parent | update dist (diff) | |
download | slack-ab8c5404d8e6468204cea83c9d20205f0ab122ed.tar.gz slack-ab8c5404d8e6468204cea83c9d20205f0ab122ed.tar.bz2 slack-ab8c5404d8e6468204cea83c9d20205f0ab122ed.tar.xz |
Remove crap, simplify makefile, and relicense
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 6 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 27 | ||||
-rw-r--r-- | dist/archlinux/stable/slack.install | 20 |
3 files changed, 0 insertions, 53 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 089a628..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -* -!/.git* -*~ -!/PKGBUILD -!/slack.install - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 3fb3bca..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=slack -pkgver=2.2 -pkgrel=1 -pkgdesc="Control your timer slack" -arch=(i686 x86_64) -url="https://github.com/maandree/slack" -license=('GPL3') -depends=(glibc 'linux>=2.6.28') -makedepends=(glibc gcc make coreutils texinfo auto-auto-complete) -install=slack.install -source=($url/archive/$pkgver.tar.gz) -sha256sums=(7459a54d2a360b25da60d99fb025cf6e04e5148d937ce8e6c2b7bd69eaf5931d) - - -build() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr -} - - -package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX=/usr install DESTDIR="$pkgdir" -} - diff --git a/dist/archlinux/stable/slack.install b/dist/archlinux/stable/slack.install deleted file mode 100644 index 5c6c500..0000000 --- a/dist/archlinux/stable/slack.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="slack" - -infodir="usr/share/info" -file="${_file}.info" - - -post_install() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - -post_upgrade() { - post_install "$1" -} - -pre_remove() { - [[ -x "usr/bin/install-info" ]] || return 0 - install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null -} - |