diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 09:52:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-01 09:52:55 +0100 |
commit | 8faaa1f33e9e90aefc0d529b637cc7048c47f820 (patch) | |
tree | 7fe2be83d684f0c61c6f06c9f5a080b3f39c2022 | |
parent | add unstickpixels (diff) | |
download | aur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.gz aur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.bz2 aur-packages-8faaa1f33e9e90aefc0d529b637cc7048c47f820.tar.xz |
add sat
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r-- | sat/PKGBUILD | 28 | ||||
-rw-r--r-- | sat/sat.install | 20 | ||||
l--------- | sat/upload | 1 |
3 files changed, 49 insertions, 0 deletions
diff --git a/sat/PKGBUILD b/sat/PKGBUILD new file mode 100644 index 0000000..05f2997 --- /dev/null +++ b/sat/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=sat +pkgver=1.0 +pkgrel=1 +pkgdesc="A simple alternative to at" +arch=(i686 x86_64) +url="https://github.com/maandree/sat" +license=('MIT' 'custom:GFDL1.3') +depends=('linux>=2.6.39' glibc) +makedepends=(glibc make coreutils gcc 'texinfo>=4.11') +install=$pkgname.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(9efef3a182a1649665641473cd219c9968bec07d19693082d05342a3a52c1669) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install N=: DESTDIR="$pkgdir" +} + diff --git a/sat/sat.install b/sat/sat.install new file mode 100644 index 0000000..ab11fb2 --- /dev/null +++ b/sat/sat.install @@ -0,0 +1,20 @@ +_file="sat" + +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 +} + diff --git a/sat/upload b/sat/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/sat/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |