From ab8c5404d8e6468204cea83c9d20205f0ab122ed Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 19 Oct 2017 20:37:55 +0200 Subject: Remove crap, simplify makefile, and relicense MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/.gitignore | 6 ------ dist/archlinux/stable/PKGBUILD | 27 --------------------------- dist/archlinux/stable/slack.install | 20 -------------------- 3 files changed, 53 deletions(-) delete mode 100644 dist/archlinux/stable/.gitignore delete mode 100644 dist/archlinux/stable/PKGBUILD delete mode 100644 dist/archlinux/stable/slack.install (limited to 'dist') 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 -} - -- cgit v1.2.3-70-g09d2