summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1cb369ecbff556264fedee872abddfbd95de87b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Thermi <noel [at] familie-kuntze dot com>

pkgname=crconf
pkgver=0.4
pkgrel=1
pkgdesc="configuration tool for kernel crypto algorithms"
url='http://sourceforge.net/projects/crconf/'
license=("GPL")
makedepends=(libmnl)
arch=('i686' 'x86_64')
source=("crconf-$pkgver.tar.gz::https://github.com/Thermi/crconf/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('63a01e273a4e1c5005549ce67b2ef465d6230cc5dbd915fc24201161053e1fe0')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make CCOPTS="$CFLAGS -DHAVE_LIBMNL" LDFLAGS="-L/usr/lib -lmnl -lnetlink" -j1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make SBINDIR=/usr/bin DESTDIR=$pkgdir install
}