diff options
author | Mattias Andrée <maandree@kth.se> | 2017-10-13 20:45:48 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-10-13 20:45:55 +0200 |
commit | db656c928524eed059ecf3d418efdea0d923072c (patch) | |
tree | 61615486d7225e3c7c369fbcb2e9c2f7d49104b0 /dist/archlinux | |
parent | update dist (diff) | |
download | alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.gz alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.bz2 alarm-db656c928524eed059ecf3d418efdea0d923072c.tar.xz |
Improve style and license
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'dist/archlinux')
-rw-r--r-- | dist/archlinux/stable/.gitignore | 9 | ||||
-rw-r--r-- | dist/archlinux/stable/PKGBUILD | 24 | ||||
-rw-r--r-- | dist/archlinux/stable/alarm.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 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 -} - |