diff options
author | Albert Graef | 2015-07-01 20:19:25 +0200 |
---|---|---|
committer | Albert Graef | 2015-07-01 20:19:25 +0200 |
commit | ab558517a0f116a2720e1b3c0018b36c3cf10a30 (patch) | |
tree | cfea02a54c776955bae1b4d53edf3a07d2894ead | |
download | aur-ab558517a0f116a2720e1b3c0018b36c3cf10a30.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 30 | ||||
-rw-r--r-- | osc2midi-utils.install | 13 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..63e42664000b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = osc2midi-utils + pkgdesc = Utilities and GTK frontend for OSC2MIDI + pkgver = 0.1 + pkgrel = 1 + url = https://bitbucket.org/agraef/osc2midi-utils/ + install = osc2midi-utils.install + arch = x86_64 + arch = i686 + license = BSD + depends = osc2midi + depends = pure + depends = pure-avahi + depends = pure-ffi + depends = pure-liblo + depends = pure-sockets + depends = pure-tk + depends = pure-xml + depends = gnocl + depends = gnocl-builder + depends = gnocl-gconf + depends = desktop-file-utils + optdepends = touchosc-editor: create and edit TouchOSC layouts + provides = osc2midi-utils + conflicts = osc2midi-utils-git + source = https://bitbucket.org/agraef/osc2midi-utils/downloads/osc2midi-utils-0.1.tar.gz + md5sums = 3f82ccd572e1f053a1c89079bd27da3f + +pkgname = osc2midi-utils + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3776d078e67a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: aggraef@gmail.com +pkgname=osc2midi-utils +pkgver=0.1 +pkgrel=1 +pkgdesc="Utilities and GTK frontend for OSC2MIDI" +arch=('x86_64' 'i686') +url="https://bitbucket.org/agraef/osc2midi-utils/" +license=('BSD') +depends=('osc2midi' 'pure' 'pure-avahi' 'pure-ffi' 'pure-liblo' 'pure-sockets' 'pure-tk' 'pure-xml' 'gnocl' 'gnocl-builder' 'gnocl-gconf' 'desktop-file-utils') +optdepends=('touchosc-editor: create and edit TouchOSC layouts') +makedepends=() +provides=('osc2midi-utils') +conflicts=('osc2midi-utils-git') +install="osc2midi-utils.install" +source=("https://bitbucket.org/agraef/osc2midi-utils/downloads/osc2midi-utils-0.1.tar.gz") +md5sums=('3f82ccd572e1f053a1c89079bd27da3f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make prefix=/usr +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install prefix=/usr DESTDIR="$pkgdir" + # documentation and examples + install -Dm644 README.md $pkgdir/usr/share/doc/osc2midi-utils/README.md + install -dm755 $pkgdir/usr/share/doc/osc2midi-utils/examples + install -Dm644 examples/* $pkgdir/usr/share/doc/osc2midi-utils/examples +} diff --git a/osc2midi-utils.install b/osc2midi-utils.install new file mode 100644 index 000000000000..70ce05d6d3c3 --- /dev/null +++ b/osc2midi-utils.install @@ -0,0 +1,13 @@ +post_install() { + echo "Updating desktop database..." + update-desktop-database -q > /dev/null +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + |