summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ad46d7299e99a5fb9655832e662a40f501469a0e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Maintainer: Bastian Löher <b.loeher@gsi.de>
pkgname=ucesb-git
pkgver=r223.c2f181f
pkgrel=1
pkgdesc="UCESB - unpack & check every single bit"
arch=('x86_64')
url="http://fy.chalmers.se/~f96hajo/ucesb/"
license=('LGPL2')
groups=()
depends=()
makedepends=(
	'git'
	'ncurses')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=${pkgname%-git}.install
source=("${pkgname%-git}::git+http://fy.chalmers.se/~f96hajo/ucesb/ucesb.git"
	"${pkgname%-git}.install")
noextract=()
md5sums=('SKIP'
         '7b21eb780e31db59023d55a3f9985279')
changelog=

# Do not compress the package for installation
# PKGEXT='.pkg.tar'
# Compress using lightweight gzip
PKGEXT='.pkg.tar.gz'

pkgver() {
	cd "${srcdir}/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" \
	    "$(git rev-parse --short HEAD)"
}

prepare() {
	:
}

build() {
	# Building is done in the installation path, because ucesb does not
	# fully support an 'installation' step.
	:
}

check() {
	:
}

package() {
	installdir=${pkgdir}/opt
	export installdir
	mkdir -p ${installdir}
	cp -r ${srcdir}/${pkgname%-git} ${installdir}
}