blob: cd7478663cd0a1ea8d1b248ead92ac4e397178da (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Alexander 'z33ky' Hirsch <1zeeky@gmail.com>
_pkgname=libabigail
pkgname="${_pkgname}-git"
pkgver=1.7.r182.g2f92777d
pkgrel=1
pkgdesc='ABI Generic Analysis and Instrumentation Library'
arch=('i686' 'x86_64')
license=('LGPL3')
url='https://sourceware.org/libabigail/'
makedepends=('git')
depends=('libxml2' 'elfutils' 'python')
source=("${_pkgname}::git://sourceware.org/git/libabigail.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed "s/^${_pkgname}-//;s/-/.r/;s/-/./g"
}
prepare() {
cd "${srcdir}/${_pkgname}"
autoreconf -fi
}
build() {
cd "${srcdir}/${_pkgname}"
./configure --prefix=/usr --with-gnu-ld --enable-bash-completion --enable-cxx11 --disable-static --disable-apidoc --disable-manual
make
}
check() {
cd "${srcdir}/${_pkgname}"
make check
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="${pkgdir}" install
}
|