upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / dgedit / trunk / PKGBUILD
blob6b87bdbe0129b7cc8f9a63736be111f7dce20664
1 # Maintainer: David Runge <dave@sleepmap.de>
2 pkgname=dgedit
3 pkgver=0.10.0
4 pkgrel=2
5 pkgdesc="The DrumGizmo drumkit editor"
6 arch=('x86_64')
7 url="https://drumgizmo.org/wiki/doku.php?id=getting_dgedit"
8 license=('GPL3')
9 groups=('pro-audio')
10 depends=('hicolor-icon-theme' 'libao' 'libsndfile' 'qt5-base')
11 makedepends=('qt5-tools')
12 source=("https://drumgizmo.org/releases/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
13 sha512sums=('507570d43a2dfc572f7c4bec9ae1d5a85eb947247022f8ab84776284affebc5845e22d5c03cc975ffe3ca636a9eab91888cfd33c802f07dd6b5eb42668656cb6'
14             'SKIP')
15 validpgpkeys=('F39C94D556CCB995B1AE540E9EB89445BF071867') # DrumGizmo <info@drumgizmo.org>
17 prepare() {
18   cd "$pkgname-$pkgver"
19   autoreconf -vfi
22 build() {
23   cd "$pkgname-$pkgver"
24   ./configure --prefix=/usr
25   make
28 check() {
29   cd "$pkgname-$pkgver"
30   make -k check
33 package() {
34   cd "$pkgname-$pkgver"
35   make DESTDIR="$pkgdir/" install
36   install -vDm 644 "${pkgname}.desktop" \
37     -t "${pkgdir}/usr/share/applications/"
38   install -vDm 644 "icons/${pkgname}.svg" \
39     -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps/dgedit/"
40   install -vDm 644 {AUTHORS,} \
41     -t "${pkgdir}/usr/share/doc/${pkgname}"