diff options
author | Andrew Chen | 2015-05-30 15:53:14 +1200 |
---|---|---|
committer | Andrew Chen | 2015-05-30 15:53:14 +1200 |
commit | cc8258af62b917940cc9f0746db7c7454d289162 (patch) | |
tree | fc38a7a2656a490de63b19f3c0f40f5d4ff2c0e9 | |
download | aur-cc8258af62b917940cc9f0746db7c7454d289162.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e6aa911bf165 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = pxlib + pkgdesc = Library to read and write Paradox DB files + pkgver = 0.6.5 + pkgrel = 1 + url = http://pxlib.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL + depends = libgsf + source = http://downloads.sourceforge.net/sourceforge/pxlib/pxlib-0.6.5.tar.gz + md5sums = 389e1f779721a3ece113c086b683445b + +pkgname = pxlib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..369c6c195340 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Contributor: Andrew Chen <llkiwi2006@gmail.com> +# Contributor: Vladimir Kutyavin <vlkut@bk.ru> + +pkgname=pxlib +pkgver=0.6.5 +pkgrel=1 +pkgdesc="Library to read and write Paradox DB files" +arch=('i686' 'x86_64') +license=('GPL') +url="http://pxlib.sourceforge.net/" +depends=('libgsf') +source=(http://downloads.sourceforge.net/sourceforge/pxlib/${pkgname}-${pkgver}.tar.gz) +md5sums=('389e1f779721a3ece113c086b683445b') + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure --prefix=/usr \ + --with-gsf \ + --disable-static + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install +} |