diff options
author | Davi da Silva Böger | 2015-08-07 13:39:22 -0300 |
---|---|---|
committer | Davi da Silva Böger | 2015-08-07 13:39:22 -0300 |
commit | 85803940eac7544b03c052e62e0d000e67232b25 (patch) | |
tree | 4b91105205f6286ba437aca5e99a9342e8dfe3e2 | |
download | aur-85803940eac7544b03c052e62e0d000e67232b25.tar.gz |
First commit to AUR4
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rw-r--r-- | gcdemu.install | 14 |
3 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b396d1aef49d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = gcdemu + pkgdesc = GNOME panel applet controlling cdemu-daemon + pkgver = 3.0.0 + pkgrel = 1 + url = http://cdemu.sourceforge.net/ + install = gcdemu.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = intltool + depends = cdemu-daemon + depends = python2 + depends = python2-gobject + depends = python2-notify + depends = gtk3 + source = http://downloads.sourceforge.net/cdemu/gcdemu-3.0.0.tar.bz2 + sha256sums = 1357a02720f05644929bae167fcc64dc58784f406aa426bcd806955cc458aad4 + +pkgname = gcdemu + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f5f7f60139b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: Nuno Araujo <nuno.araujo at russo79.com> +# Contributor: Charles Lindsay <charles@chaoslizard.org> +# Contributor: Alexsandr Pavlov <kidoz at mail dot ru> +# Maintainer: Davi da Silva Böger <dsboger@gmail.com> +pkgname=gcdemu +pkgver=3.0.0 +pkgrel=1 +pkgdesc="GNOME panel applet controlling cdemu-daemon" +arch=('i686' 'x86_64') +url="http://cdemu.sourceforge.net/" +license=('GPL2') +depends=('cdemu-daemon' 'python2' 'python2-gobject' 'python2-notify' 'gtk3') +makedepends=('cmake' 'intltool') +install=gcdemu.install +source=(http://downloads.sourceforge.net/cdemu/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('1357a02720f05644929bae167fcc64dc58784f406aa426bcd806955cc458aad4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + sed -i '1s/python/python2/g' src/gcdemu + + PYTHON=python2 cmake -DPOST_INSTALL_HOOKS=off -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR=${pkgdir} install +} diff --git a/gcdemu.install b/gcdemu.install new file mode 100644 index 000000000000..7049be12cc61 --- /dev/null +++ b/gcdemu.install @@ -0,0 +1,14 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} + +post_upgrade() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} + +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q +} |