diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 00:41:10 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 00:41:10 +0100 |
commit | 1308d53769768a79a92a3cef26fc32b0e40289dd (patch) | |
tree | 7dd009c6b30290e4145ba04cb255e098214735b2 | |
parent | update sat (diff) | |
download | aur-packages-1308d53769768a79a92a3cef26fc32b0e40289dd.tar.gz aur-packages-1308d53769768a79a92a3cef26fc32b0e40289dd.tar.bz2 aur-packages-1308d53769768a79a92a3cef26fc32b0e40289dd.tar.xz |
add libhaiku
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | libhaiku/PKGBUILD | 28 | ||||
-rw-r--r-- | libhaiku/libhaiku.install | 20 | ||||
l--------- | libhaiku/upload | 1 |
3 files changed, 49 insertions, 0 deletions
diff --git a/libhaiku/PKGBUILD b/libhaiku/PKGBUILD new file mode 100644 index 0000000..7d0134e --- /dev/null +++ b/libhaiku/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> + +pkgname=libhaiku +pkgver=1.0 +pkgrel=1 +pkgdesc="Poetic error messages" +arch=(i686 x86_64) +url="https://github.com/maandree/libhaiku" +license=('GPL3') +depends=(glibc) +makedepends=(glibc make coreutils gcc 'texinfo>=4.11') +install=$pkgname.install +source=($url/archive/$pkgver.tar.gz) +sha256sums=(2d4b2f5fc669e3f100b917f84c00340a81cc5e6b2ccac3ce69cad51ed6871bc5) + + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install N=: DESTDIR="$pkgdir" +} + diff --git a/libhaiku/libhaiku.install b/libhaiku/libhaiku.install new file mode 100644 index 0000000..d7542e7 --- /dev/null +++ b/libhaiku/libhaiku.install @@ -0,0 +1,20 @@ +_file="libhaiku" + +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/libhaiku/upload b/libhaiku/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/libhaiku/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |