diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..aaf31336cd47 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = liblbxutil + pkgdesc = LBX utility routines + pkgver = 1.1.0 + pkgrel = 1 + url = http://www.x.org/ + arch = x86_64 + arch = i686 + license = custom + depends = zlib + options = !libtool + source = http://xorg.freedesktop.org/releases/individual/lib/liblbxutil-1.1.0.tar.bz2 + md5sums = 273329a78c2e9ea189ac416c7fde94a1 + +pkgname = liblbxutil + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1f5c308c729f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +#Maintainer: Brian Bidulock <bidulock@openss7.org> +pkgname=liblbxutil +_pkgname=liblbxutil +pkgdesc="LBX utility routines" +pkgver=1.1.0 +pkgrel=1 +arch=('x86_64' 'i686') +url="http://www.x.org/" +license=('custom') +depends=('zlib') +options=('!libtool') +source=("http://xorg.freedesktop.org/releases/individual/lib/$_pkgname-$pkgver.tar.bz2") +md5sums=('273329a78c2e9ea189ac416c7fde94a1') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc \ + --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} |