diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-01 02:47:18 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-01 02:47:18 +0100 |
commit | d0a6ba7563d96c63f0e2bb64ba60410a2e6cc169 (patch) | |
tree | d5d9e928572acdd129b1e2d924eae9390f4e1696 /libhaiku | |
parent | Improve clean script (diff) | |
download | aur-packages-d0a6ba7563d96c63f0e2bb64ba60410a2e6cc169.tar.gz aur-packages-d0a6ba7563d96c63f0e2bb64ba60410a2e6cc169.tar.bz2 aur-packages-d0a6ba7563d96c63f0e2bb64ba60410a2e6cc169.tar.xz |
Update libhaiku
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhaiku')
-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 -} - |