From db656c928524eed059ecf3d418efdea0d923072c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 13 Oct 2017 20:45:48 +0200 Subject: Improve style and license 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 | 9 --------- dist/archlinux/stable/PKGBUILD | 24 ------------------------ dist/archlinux/stable/alarm.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/alarm.install (limited to 'dist') diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore deleted file mode 100644 index 3384b99..0000000 --- a/dist/archlinux/stable/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -* -!/.git* -!/PKGBUILD -!/alarm.install -*~ -*.swo -*.swp -*.bak - diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD deleted file mode 100644 index 0306862..0000000 --- a/dist/archlinux/stable/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> - -pkgname=alarm -pkgver=1.1 -pkgrel=2 -pkgdesc="Schedule an alarm for a program when starting it" -url="https://github.com/maandree/alarm" -arch=(i686 x86_64) -license=(GPL3) -depends=(glibc) -makedepends=(make coreutils gcc glibc texinfo) -install=alarm.install -source=("${url}/archive/${pkgver}.tar.gz") -sha256sums=(a8aa6f12591ce70beaa283214e0f1196dae6f78b7eb4b6e100b96b25627e6ae4) - -build() { - cd "${srcdir}/alarm-${pkgver}" - make DESTDIR="${pkgdir}" -} - -package() { - cd "${srcdir}/alarm-${pkgver}" - make DESTDIR="${pkgdir}" install -} diff --git a/dist/archlinux/stable/alarm.install b/dist/archlinux/stable/alarm.install deleted file mode 100644 index a73b865..0000000 --- a/dist/archlinux/stable/alarm.install +++ /dev/null @@ -1,20 +0,0 @@ -_file="alarm" - -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