summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Springer2018-09-04 16:54:28 +0200
committerStephan Springer2018-09-04 16:54:28 +0200
commit50a96a18321bc487f039ffca13cd073a06167568 (patch)
treed19099d10b151265ae57a682b7311adcefb063d1
parent9013cd562aaadf1891dd0fdf3f92bdea9590ffbf (diff)
downloadaur-50a96a18321bc487f039ffca13cd073a06167568.tar.gz
- adopt
- update to 3.2.0 - switch to Python 3 and adjust dependencies
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD29
2 files changed, 18 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 081eb04694e..9f42de458e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Jun 12 00:26:12 UTC 2017
pkgbase = gcdemu
pkgdesc = GNOME panel applet controlling cdemu-daemon
- pkgver = 3.1.0
+ pkgver = 3.2.0
pkgrel = 1
url = http://cdemu.sourceforge.net/
arch = any
@@ -10,12 +8,12 @@ pkgbase = gcdemu
makedepends = cmake
makedepends = intltool
depends = cdemu-daemon
- depends = python2
- depends = python2-gobject
- depends = python2-notify
+ depends = python-gobject
depends = gtk3
- source = http://downloads.sourceforge.net/cdemu/gcdemu-3.1.0.tar.bz2
- sha512sums = e3e0369cc443bc47befa52989cc2bc5d62e4c9462bb8de1c3dd8563e1240ba7f59fc8cc54aed2e96bdb23a5f6e2fa11ca36073dfa066409f097a1dca619866fc
+ optdepends = libnotify
+ optdepends = libappindicator-gtk3
+ source = http://downloads.sourceforge.net/cdemu/gcdemu-3.2.0.tar.bz2
+ sha512sums = 61a1775c874c9c3604ce88758039ef80b262463ae180e791eb545811fa2176e4bf07c4dbcd3be5f17d446fdef92317a0ff64ce8d27f26aeaeee9d8134b6a95ea
pkgname = gcdemu
diff --git a/PKGBUILD b/PKGBUILD
index 0d6a9e1beb0..856a2fcca65 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,29 @@
+# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# 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>
+# Contributor: Davi da Silva Böger <dsboger@gmail.com>
+
pkgname=gcdemu
-pkgver=3.1.0
+pkgver=3.2.0
pkgrel=1
pkgdesc="GNOME panel applet controlling cdemu-daemon"
arch=('any')
url="http://cdemu.sourceforge.net/"
license=('GPL2')
-depends=('cdemu-daemon' 'python2' 'python2-gobject' 'python2-notify' 'gtk3')
+depends=('cdemu-daemon' 'python-gobject' 'gtk3')
+optdepends=('libnotify' 'libappindicator-gtk3')
makedepends=('cmake' 'intltool')
-source=(http://downloads.sourceforge.net/cdemu/${pkgname}-${pkgver}.tar.bz2)
-sha512sums=('e3e0369cc443bc47befa52989cc2bc5d62e4c9462bb8de1c3dd8563e1240ba7f59fc8cc54aed2e96bdb23a5f6e2fa11ca36073dfa066409f097a1dca619866fc')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- sed -i '1s/python/python2/g' src/gcdemu
-}
+source=("http://downloads.sourceforge.net/cdemu/$pkgname-$pkgver.tar.bz2")
+sha512sums=('61a1775c874c9c3604ce88758039ef80b262463ae180e791eb545811fa2176e4bf07c4dbcd3be5f17d446fdef92317a0ff64ce8d27f26aeaeee9d8134b6a95ea')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- PYTHON=python2 cmake -DPOST_INSTALL_HOOKS=off -DCMAKE_INSTALL_PREFIX=/usr
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -DPOST_INSTALL_HOOKS=off -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make DESTDIR=${pkgdir} install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}