summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c06d142f8c811237b50c3c9a70a0f0245a97270 (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
# Maintainer: Samuel Dudík <dudik at tutanota dot com>
_pkgname=herbe
pkgname=$_pkgname-git
pkgver=1
pkgrel=1
arch=(any)
license=('MIT')
makedepends=('git')
url="https://github.com/dudik/$_pkgname"
source=("git+https://github.com/dudik/$_pkgname.git")
md5sums=('SKIP')

prepare() {
	cd $_pkgname
	if [ -f "$srcdir/config.h" ]; then
		cp -f "$srcdir/config.h" config.h
	fi
}

build () {
	cd "$_pkgname"
	make
}

package () {
	cd "$_pkgname"
	mkdir -p "$pkgdir/usr/local/bin"
	cp $_pkgname "$pkgdir/usr/local/bin/"
}