diff options
Diffstat (limited to 'sat')
-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 |