* add openresolv
This commit is contained in:
parent
aac71d0953
commit
17f546171b
17
openresolv/.SRCINFO
Normal file
17
openresolv/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = openresolv
|
||||
pkgdesc = resolv.conf management framework (resolvconf)
|
||||
pkgver = 3.13.2
|
||||
pkgrel = 2
|
||||
url = https://roy.marples.name/projects/openresolv
|
||||
arch = any
|
||||
license = custom:BSD
|
||||
makedepends = git
|
||||
makedepends = systemd
|
||||
depends = bash
|
||||
provides = resolvconf
|
||||
conflicts = resolvconf
|
||||
backup = etc/resolvconf.conf
|
||||
source = git+https://github.com/NetworkConfiguration/openresolv#commit=867a412d63a28d2c4978e02fc44fb8013f46d356
|
||||
b2sums = 6170f68d93055d7e70e8093163098ea6feed9725615ee9040c106c5e3f84359cbd80b9549124084ad02fae6d5ba3424bcf66f4157aa086d9b364e3bb107017a7
|
||||
|
||||
pkgname = openresolv
|
4
openresolv/.nvchecker.toml
Normal file
4
openresolv/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[openresolv]
|
||||
source = "git"
|
||||
git = "https://github.com/NetworkConfiguration/openresolv.git"
|
||||
prefix = "v"
|
52
openresolv/PKGBUILD
Normal file
52
openresolv/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
|
||||
# Contributor: Ignacio Galmarino <igalmarino@gmail.com>
|
||||
|
||||
pkgname=openresolv
|
||||
pkgver=3.13.2
|
||||
pkgrel=2
|
||||
pkgdesc="resolv.conf management framework (resolvconf)"
|
||||
url="https://roy.marples.name/projects/openresolv"
|
||||
arch=(any)
|
||||
license=(custom:BSD)
|
||||
provides=(resolvconf)
|
||||
conflicts=(resolvconf)
|
||||
depends=(bash)
|
||||
makedepends=(
|
||||
git
|
||||
systemd
|
||||
)
|
||||
backup=(etc/resolvconf.conf)
|
||||
_commit=867a412d63a28d2c4978e02fc44fb8013f46d356 # tags/v3.13.2^0
|
||||
source=("git+https://github.com/NetworkConfiguration/openresolv#commit=$_commit")
|
||||
b2sums=('6170f68d93055d7e70e8093163098ea6feed9725615ee9040c106c5e3f84359cbd80b9549124084ad02fae6d5ba3424bcf66f4157aa086d9b364e3bb107017a7')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
}
|
||||
|
||||
build() {
|
||||
local configure_options=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libexecdir=/usr/lib/resolvconf
|
||||
--sbindir=/usr/bin
|
||||
)
|
||||
|
||||
cd $pkgname
|
||||
./configure "${configure_options[@]}"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
|
||||
}
|
||||
|
||||
# vim:set sw=2 sts=-1 et:
|
Loading…
x
Reference in New Issue
Block a user