blob: 6ef79256a73c058e16d1691dabef4e261dc27f20 (
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
|
caps_pkgname=DHCProbe
_pkgname=dhcprobe
pkgname=$_pkgname-git
pkgver=r15.bb96b07
pkgrel=1
pkgdesc='Retrieve configuration from a DHCP server'
arch=('any')
url='https://github.com/JohannesBuchner/DHCProbe'
makedepends=('git')
#install=$pkgname.install
source=(
'git+https://github.com/JohannesBuchner/DHCProbe.git'
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/$caps_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$caps_pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$caps_pkgname"
make DESTDIR="$pkgdir/" install
}
|