blob: 0f713d549f90c89920c8d8e01a3cf97088ee133b (
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
|
# Maintainer: Simon Tas <simon.tas.st@gmail.com>
pkgname="ebsynth-git"
_pkgname="ebsynth"
pkgver=r16.2f5c97c
pkgrel=1
pkgdesc="A Fast Example-based Image Synthesizer"
arch=('any')
url="https://github.com/jamriska/${_pkgname}"
license=('custom')
provides=("${_pkgname}")
makedepends=('git')
source=("${_pkgname}::git+https://github.com/jamriska/${_pkgname}"
"LICENSE")
md5sums=('SKIP'
'4b43b6f229b0530aca75c71986b68e19')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
./build-linux-cpu_only.sh
}
package() {
cd "$srcdir"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "${_pkgname}"
install -dm755 "${pkgdir}/usr/bin"
install -Dm755 "bin/${_pkgname}" "$pkgdir/usr/bin/${_pkgname}"
}
|