diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 12 insertions, 16 deletions
@@ -1,14 +1,14 @@ pkgbase = halibut pkgdesc = free document preparation system - pkgver = 1.2 - pkgrel = 2 + pkgver = 1.3 + pkgrel = 1 url = http://www.chiark.greenend.org.uk/~sgtatham/halibut/ arch = i686 arch = x86_64 license = custom:MIT + makedepends = cmake depends = glibc - source = https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.2/halibut-1.2.tar.gz - sha256sums = 1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f + source = https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.3/halibut-1.3.tar.gz + sha256sums = aaa0f7696f17f74f42d97d0880aa088f5d68ed3079f3ed15d13b6e74909d3132 pkgname = halibut - @@ -1,33 +1,29 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> pkgname=halibut -pkgver=1.2 -pkgrel=2 +pkgver=1.3 +pkgrel=1 pkgdesc="free document preparation system" url="http://www.chiark.greenend.org.uk/~sgtatham/halibut/" arch=('i686' 'x86_64') license=('custom:MIT') depends=('glibc') +makedepends=('cmake') source=(https://www.chiark.greenend.org.uk/~sgtatham/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f') - -prepare() { - cd $pkgname-$pkgver - sed -i 's+/usr/local+/usr+' Makefile -} +sha256sums=('aaa0f7696f17f74f42d97d0880aa088f5d68ed3079f3ed15d13b6e74909d3132') build() { cd $pkgname-$pkgver - CFLAGS+=" -fcommon" prefix=/usr make - cd doc + cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr make } package() { cd $pkgname-$pkgver install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE - install -Dm755 build/$pkgname "$pkgdir"/usr/bin/$pkgname + install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname cd doc install -Dm644 $pkgname.1 "$pkgdir"/usr/share/man/man1/$pkgname.1 + cd manual for _i in $pkgname.info* do install -Dm644 $_i "$pkgdir"/usr/share/info/$_i |