blob: 85f6a7a7d93814b5cb58a065ac880b2a9e8d655b (
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
|
# Maintainer: Charlie Wolf <charlie@wolf.is>
_pkgname=resolvconf-override
pkgname=${_pkgname}-git
pkgver=r9.798ca21
pkgrel=1
pkgdesc="Override resolv.conf using LD_PRELOAD"
url="https://github.com/hadess/${_pkgname}"
arch=("i686" "x86_64")
source=("git+https://github.com/hadess/${_pkgname}.git")
sha256sums=('SKIP')
depends=("glibc")
makedepends=("autoconf")
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $srcdir/${_pkgname}/
autoreconf -f -i
./configure --prefix=/usr
make
}
package() {
cd $srcdir/${_pkgname}/
make DESTDIR="$pkgdir/" install
}
|