diff options
author | spider-mario | 2015-06-27 18:02:54 +0200 |
---|---|---|
committer | spider-mario | 2015-06-27 18:04:44 +0200 |
commit | c171140c087220fa439241c07ac11a6425ee01a1 (patch) | |
tree | 253dd98c281c61a41e49281ccfb46ed5476f43b2 | |
download | aur-c171140c087220fa439241c07ac11a6425ee01a1.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 40 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..833896fa00f1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = jbofihe-git + pkgdesc = Tools to operate on Lojban text (main feature: approximate translation to English). + pkgver = 20030418.22.g893dd52 + pkgrel = 1 + epoch = 1 + url = https://github.com/lojban/jbofihe + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = perl + depends = glibc + options = !makeflags + source = git+https://github.com/lojban/jbofihe + sha512sums = SKIP + +pkgname = jbofihe-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1f66b8f4f644 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: spider-mario <spidermario@free.fr> +# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=jbofihe-git +pkgver=20030418.22.g893dd52 +epoch=1 +pkgrel=1 +pkgdesc="Tools to operate on Lojban text (main feature: approximate translation to English)." +arch=('i686' 'x86_64') +url="https://github.com/lojban/jbofihe" +license=('GPL2') +depends=('glibc') +makedepends=('git' 'perl') +options=('!makeflags') +source=(git+https://github.com/lojban/jbofihe) +sha512sums=(SKIP) + +pkgver() { + cd jbofihe + git describe --tags | sed -e 's/^[^0-9\-]*//' -e 'y/-/./' +} + +build() { + cd jbofihe + + msg "Running config.pl..." + + perl config.pl --prefix=/usr + + msg "Running make..." + + # There is a Perl script that expects the locale to be an English one. + LC_ALL=C make all +} + +package() { + cd jbofihe + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: |