summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ff2b302a2cf87cf01a5239556d475240b4e410d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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)
options=('staticlibs')
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 --enable-static
	make
}

package() {
	cd popt
	make DESTDIR="$pkgdir/" install
}