[arch-commits] Commit in drumkv1/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 17:07:47 UTC 2015
Date: Sunday, December 6, 2015 @ 18:07:47
Author: foutrelis
Revision: 148937
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
drumkv1/repos/community-staging-i686/
drumkv1/repos/community-staging-i686/PKGBUILD
(from rev 148936, drumkv1/trunk/PKGBUILD)
drumkv1/repos/community-staging-i686/drumkv1.install
(from rev 148936, drumkv1/trunk/drumkv1.install)
drumkv1/repos/community-staging-x86_64/
drumkv1/repos/community-staging-x86_64/PKGBUILD
(from rev 148936, drumkv1/trunk/PKGBUILD)
drumkv1/repos/community-staging-x86_64/drumkv1.install
(from rev 148936, drumkv1/trunk/drumkv1.install)
------------------------------------------+
community-staging-i686/PKGBUILD | 40 +++++++++++++++++++++++++++++
community-staging-i686/drumkv1.install | 13 +++++++++
community-staging-x86_64/PKGBUILD | 40 +++++++++++++++++++++++++++++
community-staging-x86_64/drumkv1.install | 13 +++++++++
4 files changed, 106 insertions(+)
Copied: drumkv1/repos/community-staging-i686/PKGBUILD (from rev 148936, drumkv1/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 17:07:47 UTC (rev 148937)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=drumkv1
+pkgver=0.7.1
+pkgrel=2
+pkgdesc="An old-school drum-kit sampler"
+arch=(i686 x86_64)
+url="http://$pkgname.sourceforge.net/$pkgname-index.html"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('jack' 'liblo' 'lv2' 'qt4' 'shared-mime-info')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('e037552988d30a0010c318e55f0d41f0')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # x86_64 lib path fix
+ sed -i "s/lib64/lib/" src/src_lv2{,ui}.pro
+
+ # i686 -reduce-relocations (Qt5)
+# if [[ $CARCH = i686 ]]; then
+# export CXXFLAGS+=" -fPIE"
+# fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: drumkv1/repos/community-staging-i686/drumkv1.install (from rev 148936, drumkv1/trunk/drumkv1.install)
===================================================================
--- community-staging-i686/drumkv1.install (rev 0)
+++ community-staging-i686/drumkv1.install 2015-12-06 17:07:47 UTC (rev 148937)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: drumkv1/repos/community-staging-x86_64/PKGBUILD (from rev 148936, drumkv1/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 17:07:47 UTC (rev 148937)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=drumkv1
+pkgver=0.7.1
+pkgrel=2
+pkgdesc="An old-school drum-kit sampler"
+arch=(i686 x86_64)
+url="http://$pkgname.sourceforge.net/$pkgname-index.html"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('jack' 'liblo' 'lv2' 'qt4' 'shared-mime-info')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('e037552988d30a0010c318e55f0d41f0')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # x86_64 lib path fix
+ sed -i "s/lib64/lib/" src/src_lv2{,ui}.pro
+
+ # i686 -reduce-relocations (Qt5)
+# if [[ $CARCH = i686 ]]; then
+# export CXXFLAGS+=" -fPIE"
+# fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: drumkv1/repos/community-staging-x86_64/drumkv1.install (from rev 148936, drumkv1/trunk/drumkv1.install)
===================================================================
--- community-staging-x86_64/drumkv1.install (rev 0)
+++ community-staging-x86_64/drumkv1.install 2015-12-06 17:07:47 UTC (rev 148937)
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list