diff options
-rw-r--r-- | libhaiku/PKGBUILD | 29 | ||||
-rw-r--r-- | libhaiku/libhaiku.install | 20 |
2 files changed, 12 insertions, 37 deletions
diff --git a/libhaiku/PKGBUILD b/libhaiku/PKGBUILD index c393829..00bef22 100644 --- a/libhaiku/PKGBUILD +++ b/libhaiku/PKGBUILD @@ -1,28 +1,23 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se> pkgname=libhaiku -pkgver=1.0.1 +pkgver=2.0 pkgrel=1 pkgdesc="Poetic error messages" -arch=(i686 x86_64) +arch=(x86_64 i686) 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=(40cc93f224038a2374006518d55ff106b225600e9bc7a0df27653a52d5a6e8a8) - +license=('custom:ISC') +depends=() +makedepends=() +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +sha256sums=(c5988a22d0bb56f4e2d1555e58beb00b9ab62d301f05739c4c127443ef4d2bec) build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make + cd "$srcdir/$pkgname-$pkgver" + make PREFIX=/usr } - package() { - cd "$srcdir/$pkgname-$pkgver" - make install N=: DESTDIR="$pkgdir" + cd "$srcdir/$pkgname-$pkgver" + make install PREFIX=/usr DESTDIR="$pkgdir" } - diff --git a/libhaiku/libhaiku.install b/libhaiku/libhaiku.install deleted file mode 100644 index d7542e7..0000000 --- a/libhaiku/libhaiku.install +++ /dev/null @@ -1,20 +0,0 @@ -_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 -} - |