summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 382478c3350a1dd9b97f6e3018a4eb0aa5ba19a7 (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
# Maintainer: Prokop Randacek <prokop@randacek.dev>
pkgname=libucw-git
pkgver=v6.5.13.r3.7308e240
pkgrel=1
pkgdesc='General purpose library for the C language'
arch=('any')
url='http://www.ucw.cz/libucw/'
license=('LGPL')
depends=()
makedepends=(perl pkgconf coreutils gcc git make asciidoc)
provides=(libucw)
source=('libucw::git+git://git.ucw.cz/libucw.git')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/${pkgname%-git}"
	./configure -CONFIG_DOC
	make
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install
}