[arch-commits] Commit in hydrogen/repos (3 files)

Antonio Rojas arojas at archlinux.org
Tue Feb 6 17:09:43 UTC 2018


    Date: Tuesday, February 6, 2018 @ 17:09:41
  Author: arojas
Revision: 289428

archrelease: copy trunk to community-x86_64

Added:
  hydrogen/repos/community-x86_64/
  hydrogen/repos/community-x86_64/.contrib
    (from rev 289427, hydrogen/trunk/.contrib)
  hydrogen/repos/community-x86_64/PKGBUILD
    (from rev 289427, hydrogen/trunk/PKGBUILD)

----------+
 .contrib |    2 ++
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)

Copied: hydrogen/repos/community-x86_64/.contrib (from rev 289427, hydrogen/trunk/.contrib)
===================================================================
--- community-x86_64/.contrib	                        (rev 0)
+++ community-x86_64/.contrib	2018-02-06 17:09:41 UTC (rev 289428)
@@ -0,0 +1,2 @@
+# Contributor: K. Piche <kpiche at rogers.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>

Copied: hydrogen/repos/community-x86_64/PKGBUILD (from rev 289427, hydrogen/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-02-06 17:09:41 UTC (rev 289428)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: tobias <tobias at archlinux.org>
+# Contributor: see .contrib
+
+pkgname=hydrogen
+pkgver=0.9.6.1
+pkgrel=4
+pkgdesc="An advanced drum machine"
+arch=('x86_64')
+license=('GPL')
+url="http://www.hydrogen-music.org/"
+depends=('libarchive' 'liblrdf' 'qt4' 'jack' 'libpulse')
+optdepends=('rubberband')
+makedepends=('cmake')
+source=("https://github.com/hydrogen-music/hydrogen/archive/$pkgver.tar.gz")
+md5sums=('527a44eec22fd31f55e6b3cf1089613d')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # lash will have to wait until I bring it into [extra] --schiv
+  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
+          -DWANT_CPPUNIT=OFF \
+          -DWANT_LRDF=ON
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  # TODO: tell upstream to comply with freedesktop.org icon conventions
+  sed -i 's:Icon=h2-icon:Icon=/usr/share/hydrogen/data/img/gray/h2-icon.svg:' \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list