diff options
author | haawda | 2019-07-06 00:26:22 +0200 |
---|---|---|
committer | haawda | 2019-07-06 00:26:22 +0200 |
commit | 6ee92413f74fd77331f525244be1ecd164716c26 (patch) | |
tree | 83425d47af639f3b1ef43a204dada02f89b11b25 | |
download | aur-6ee92413f74fd77331f525244be1ecd164716c26.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5c54e8739376 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = halibut-git + pkgdesc = free document preparation system + pkgver = 1.2.r15.g44df656 + pkgrel = 1 + url = http://www.chiark.greenend.org.uk/~sgtatham/halibut/ + arch = i686 + arch = x86_64 + license = custom:MIT + makedepends = git + makedepends = halibut + depends = glibc + provides = halibut + conflicts = halibut + source = git://git.tartarus.org/simon/halibut.git + source = git://git.tartarus.org/simon/charset.git + sha256sums = SKIP + sha256sums = SKIP + +pkgname = halibut-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bfbf324715e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +pkgname=halibut-git +pkgver=1.2.r15.g44df656 +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=('git' 'halibut') +conflicts=('halibut') +provides=('halibut') +source=(git://git.tartarus.org/simon/halibut.git git://git.tartarus.org/simon/charset.git) +sha256sums=('SKIP' 'SKIP') + +pkgver() { + cd ${pkgname%-git} + git describe --tags | sed 's+-+.r+'|tr - . +} + +prepare() { + cd ${pkgname%-git} + git submodule init + git config submodule.charset.url "$srcdir"/charset + git submodule update +} + +build() { + cd ${pkgname%-git} + ./autogen.sh + DOCDIR="$pkgdir"/usr/share/halibut/doc ./configure --prefix=/usr + make +} + +package() { + cd ${pkgname%-git} + install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/${pkgname}/LICENCE + install -Dm755 ${pkgname%-git} "$pkgdir"/usr/bin/${pkgname%-git} + install -Dm644 ${pkgname%-git}.1 "$pkgdir"/usr/share/man/man1/${pkgname%-git}.1 + for _i in ${pkgname%-git}.info* + do + install -Dm644 $_i "$pkgdir"/usr/share/info/$_i + done + for _i in ${pkgname%-git}{.ps,.pdf,.txt} + do + install -Dm644 $_i "$pkgdir"/usr/share/doc/${pkgname%-git}/$_i + done +} |