aboutsummaryrefslogtreecommitdiffstats
path: root/libhaiku
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-01 02:47:18 +0100
committerMattias Andrée <maandree@kth.se>2021-03-01 02:47:18 +0100
commitd0a6ba7563d96c63f0e2bb64ba60410a2e6cc169 (patch)
treed5d9e928572acdd129b1e2d924eae9390f4e1696 /libhaiku
parentImprove clean script (diff)
downloadaur-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/PKGBUILD29
-rw-r--r--libhaiku/libhaiku.install20
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
-}
-