summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b4363e55255
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+Maintainer='Azat Khuzhin <a3at.mail@gmail.com>'
+pkgname=popt-deb
+pkgdesc='popt with debian patches (mostly to avoid double free)'
+pkgver=1.16.10
+pkgrel=1
+arch=(x86_64)
+url='https://github.com/azat/popt'
+license=('GPL')
+provides=(popt)
+conflicts=(popt)
+makedepends=('autoconf' 'automake' 'gcc' 'git' 'libtool' 'make')
+source=('git+https://github.com/azat/popt#branch=patched')
+md5sums=(SKIP)
+
+build() {
+ cd popt
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd popt
+ make DESTDIR="$pkgdir/" install
+}