OCaml 4.14.0 rebuild
[arch-packages.git] / openresolv / trunk / PKGBUILD
blob92e9c972cec8a40b0fc7f4814a69bac36609d7b3
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ignacio Galmarino <igalmarino@gmail.com>
4 pkgname=openresolv
5 pkgver=3.12.0
6 pkgrel=1
7 pkgdesc="resolv.conf management framework (resolvconf)"
8 arch=(any)
9 url="https://roy.marples.name/projects/openresolv"
10 license=('custom:BSD')
11 backup=(etc/resolvconf.conf)
12 provides=(resolvconf)
13 depends=(bash)
14 makedepends=(systemd)
15 source=("https://roy.marples.name/downloads/openresolv/${pkgname}-${pkgver}.tar.xz"
16         fs33801.patch)
17 sha256sums=('42b30508e857a228535c631eaac936862d86eca68c14b5c0bf387ba176b91b97'
18             '466678996689463af748bcdce7ea6f9f24f59004fa4db61fdc04da9f5fff2a6a')
20 prepare() {
21   cd $pkgname-$pkgver
22   patch -Np1 -i ../fs33801.patch
25 build() {
26   cd $pkgname-$pkgver
27   ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/resolvconf --sbindir=/usr/bin
28   make
31 package() {
32   cd $pkgname-$pkgver
33   make DESTDIR="$pkgdir" install
34   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE