[arch-commits] Commit in giada/repos (community-x86_64 community-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Apr 5 19:54:30 UTC 2018


    Date: Thursday, April 5, 2018 @ 19:54:29
  Author: dvzrv
Revision: 314497

archrelease: copy trunk to community-x86_64

Added:
  giada/repos/community-x86_64/
  giada/repos/community-x86_64/PKGBUILD
    (from rev 314496, giada/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: giada/repos/community-x86_64/PKGBUILD (from rev 314496, giada/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-04-05 19:54:29 UTC (rev 314497)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=giada
+pkgver=0.14.6
+pkgrel=3
+pkgdesc="A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians"
+arch=('x86_64')
+url="https://www.giadamusic.com/"
+license=('GPL3')
+groups=('pro-audio')
+depends=('fltk' 'jansson' 'libpulse' 'libxpm' 'rtmidi')
+makedepends=('gendesk')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/monocasual/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('e3d5e0c06acbd0f46f82bf51ff5de0ef318a4d3a2ad2a5779b626397988c55cbadce847637b49e9c3d734fdaae6bf94ab1366038f1992be0c22a7daf83e39390')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoreconf -vfi
+  # XDG desktop file
+  gendesk -n \
+          --pkgname ${pkgname} \
+          --pkgdesc "${pkgdesc}" \
+          --name Giada \
+          --categories "MIDI;Sequencer"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --target=linux
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install
+  # XDG integration
+  install -vDm 644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
+  install -vDm 644 "src/ext/${pkgname}.ico" -t "${pkgdir}/usr/share/pixmaps"
+  # docs
+  install -vDm 644 {ChangeLog,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list