This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPKGBUILD
45 lines (40 loc) · 1.51 KB
/
PKGBUILD
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
# Maintainer: Saverio Brancaccio <[email protected]>
# Contributor: Sapphira Armageddos <[email protected]>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: Bram Schoenmakers <[email protected]>
pkgname=evolvotron
pkgver=0.7.1
pkgrel=1
pkgdesc="An interactive generative art application"
arch=('i686' 'x86_64')
url="http://www.bottlenose.demon.co.uk/share/evolvotron/"
license=('GPL')
depends=('qt5-base' 'boost-libs')
makedepends=('boost' 'gendesk')
source=("https://gitlab.com/saveriobran/evolvotron_fixed/raw/master/evolvotron.tar.gz"
"https://gitlab.com/saveriobran/evolvotron_fixed/raw/master/evolvotron.png"
)
prepare() {
gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc"
cd "$srcdir/$pkgname"
}
build() {
cd "$srcdir/$pkgname"
qmake-qt5 "VERSION_NUMBER=$(./VERSION)" main.pro
make -j 4
}
package() {
cd "$srcdir/$pkgname"
for bin in ${pkgname}{,_mutate,_render}; do
install -D -m 755 "${bin}/${bin}" "${pkgdir}/usr/bin/${bin}"
done
for man in ${pkgname}{,_mutate,_render}.1; do
install -D -m 644 "man/man1/${man}" "${pkgdir}/usr/share/man/man1/${man}"
done
install -D -m 644 evolvotron.html "${pkgdir}/usr/share/doc/${pkgname}/manual.html"
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/${pkgname}.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/${pkgname}.png"
}
# vim:syntax=sh
md5sums=('ed6d8e880b7358634a4e6bd5d102592d'
'0302f0dde78ced8f177276ce96ddab5e')