blob: d7e547f804c0e150b58542e87fad9de8b1648ce0 (
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
32
33
|
_pkgname=dhcprobe
pkgname=$_pkgname-git
pkgver=x
pkgrel=1
pkgdesc='Retrieve configuration from a DHCP server without having to apply it'
arch=('any')
url='https://github.com/JohannesBuchner/DHCProbe'
makedepends=('git')
#install=$pkgname.install
source=(
'https://github.com/JohannesBuchner/DHCProbe'
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
./autogen.sh
./configure
make
make install
}
package() {
cd "$srcdir"
install -Dm644 "$pkgname" "$pkgdir/usr/bin"
}
|