blob: b4ab092cf29d1549909a7b970d7e2bc99d9f8b23 (
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
|
_pkgbasename=libseccomp
pkgname=lib32-libseccomp
pkgver=2.5.4
pkgrel=1
pkgdesc='Seccomp for 32bit'
url="https://github.com/seccomp/libseccomp"
arch=('x86_64')
license=('LGPL')
depends=('lib32-glibc' 'gperf')
makedepends=('gcc-multilib')
source=(https://github.com/seccomp/libseccomp/releases/download/v${pkgver}/libseccomp-${pkgver}.tar.gz)
sha256sums=('d82902400405cf0068574ef3dc1fe5f5926207543ba1ae6f8e7a1576351dcbdb')
build() {
export CFLAGS="$CFLAGS -m32"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure \
--prefix=/usr \
--libdir=/usr/lib32
make
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make install DESTDIR="${pkgdir}"
rm -rf "${pkgdir}"/usr/{include,share,bin}
}
|