diff options
author | AdriĆ Arrufat | 2015-07-15 19:44:22 +0200 |
---|---|---|
committer | AdriĆ Arrufat | 2015-07-15 19:44:22 +0200 |
commit | 4290913431e2d9ff6afb1bd270fa0e52223245dc (patch) | |
tree | 2aa3206eceb49ab80759d4a7717789f851e00719 | |
download | aur-creox-git.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..240e01d6240c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = creox-git + pkgdesc = A real-time sound processor. You can plug your electric guitar or any other musical instrument directly to the PC's sound card and start experimenting with various sound effects. + pkgver = 20110709 + pkgrel = 1 + url = http://opendesktop.org/content/show.php?content=142906 + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = cmake>=2.8.0 + makedepends = automoc4 + depends = kdelibs + depends = jack + provides = creox + conflicts = creox + +pkgname = creox-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cec5a1a9668a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Adria Arrufat <swiftscythe(at)gmail(dot)com> + +pkgname=creox-git +pkgver=20110709 +pkgrel=1 +pkgdesc="A real-time sound processor. You can plug your electric guitar or any other musical instrument directly to the PC's sound card and start experimenting with various sound effects." +arch=('i686' 'x86_64') +url="http://opendesktop.org/content/show.php?content=142906" +license=('GPL3') +depends=('kdelibs' 'jack') +makedepends=('git' 'cmake>=2.8.0' 'automoc4') +provides=('creox') +conflicts=('creox') +#options=(!strip) + +_gitroot="https://github.com/laudrup/Creox4.git" +_gitname="Creox4" + +build() { + cd ${srcdir} + msg "Connecting to GIT server..." + + if [ -d ${_gitname} ]; then + cd ${_gitname} && git pull origin + else + git clone --depth 1 ${_gitroot} + fi + + msg "GIT checkout done or server timeout" + msg "Starting build..." + + rm -rf ${srcdir}/${_gitname}-build + cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build + cd ${srcdir}/${_gitname}-build + + cmake -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/${_gitname}-build + make DESTDIR=${pkgdir} install +} |