summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6899d9097a6fd3044adca86531b2030aa2e33859 (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
# Maintainer: bitwave < aur [aTtt] oomlu [d0ot] de>
# Contributor: Sapphira Armageddos <shadowkyogre.public@gmail.com>
pkgname=dilay
pkgver=1.9.0
pkgrel=1
pkgdesc="A 3D sculpting application that provides an intuitive workflow using a number of powerful modeling tool"
arch=('i686' 'x86_64')
url="http://abau.org/dilay/index.html"
license=('GPL')
makedepends=('gendesk')
depends=('glm' 'qt5-base')
source=("$pkgname-$pkgver.tar.gz::https://github.com/abau/dilay/archive/${pkgver}.tar.gz")

prepare() {
	gendesk -f -n --pkgname "dilay" --pkgdesc "$pkgdesc"
}

build() {
	cd "$srcdir/$pkgname-$pkgver"
	qmake-qt5 -r PREFIX="${pkgdir}/usr"
	make release
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make install
	install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
	install -Dm644 "unix/icon/48x48/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}

sha1sums=('e3b0e3e1704b3f885ffdab38acd2b8070a86b928')