summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Rouet2015-10-04 19:07:31 +0200
committerValentin Rouet2015-10-04 19:07:31 +0200
commit104d2903d7b78b423ac3093e28f119de1d834297 (patch)
treea7a8fe924940605218069e792cb7789f332b4296
downloadaur-104d2903d7b78b423ac3093e28f119de1d834297.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD46
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8492994bf55
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = drmr-git
+ pkgdesc = DrMr is an LV2 sampler plugin that can play Hydrogen drumkits
+ pkgver = 20120709
+ pkgrel = 2
+ url = https://github.com/nicklan/drmr
+ arch = i686
+ arch = x86_64
+ groups = drmr
+ license = GPL
+ makedepends = git
+ depends = libsndfile
+ depends = libsamplerate
+ depends = expat
+ depends = lv2
+ provides = drmr
+ conflicts = drmr
+
+pkgname = drmr-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79d74e76c29
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Nick Lanham <nick@afternight.org>
+pkgname=drmr-git
+pkgver=20120709
+pkgrel=2
+pkgdesc="DrMr is an LV2 sampler plugin that can play Hydrogen drumkits"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="https://github.com/nicklan/drmr"
+groups=('drmr')
+depends=('libsndfile' 'libsamplerate' 'expat' 'lv2')
+makedepends=('git')
+provides=('drmr')
+conflicts=('drmr')
+
+_gitroot="git://github.com/nicklan/drmr.git"
+_gitname="drmr"
+
+build() {
+ cd "${srcdir}/"
+ msg "Getting git sources"
+
+ if [ -d ${srcdir}/$_gitname ] ; then
+ cd $_gitname && git pull origin
+ msg "The local files are updated."
+ else
+ git clone ${_gitroot}
+ fi
+
+ msg "Git checkout finished"
+
+ msg "Building package"
+
+ msg "PKG: $pkgdir"
+
+ cd ${srcdir}/${_gitname}
+
+ [ -d build ] || mkdir build && cd build
+
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${_gitname}/build"
+ make DESTDIR="$pkgdir/" install
+}