summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2017-04-05 10:13:19 -0700
committerShadowKyogre2017-04-05 10:13:19 -0700
commit997b3d4c4be4df9d6db12b5d897c686381a331a0 (patch)
tree5d0c0330b18f26bd288c6b94efbb37dfbb86bf62
parent0792cca09aad43c532510d0fecc64419568de597 (diff)
downloadaur-997b3d4c4be4df9d6db12b5d897c686381a331a0.tar.gz
Separate GTK+3 build into separate PKGBUILD
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD19
2 files changed, 12 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ef32ce1869..002d0b93299 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Apr 4 18:00:43 UTC 2017
+# Wed Apr 5 17:12:51 UTC 2017
pkgbase = ccsm-git
- pkgdesc = Compizconfig Settings Manager in Python2
- pkgver = 0.8.12.3.r33.gaaf97ec
- pkgrel = 1
+ pkgdesc = Compizconfig Settings Manager in Python (GTK+2 version)
+ pkgver = 0.8.12.3.r34.g90a1551
+ pkgrel = 2
url = https://github.com/compiz-reloaded/ccsm
arch = any
groups = compiz-fusion
@@ -15,24 +15,13 @@ pkgbase = ccsm-git
depends = python-gobject
depends = python-cairo
depends = hicolor-icon-theme
+ depends = gtk2
optdepends = compiz-gtk-standalone: option 1
optdepends = compiz-core: option 2
- provides = ccsm=0.8.12.3.r33.gaaf97ec
+ provides = ccsm=0.8.12.3.r34.g90a1551
conflicts = ccsm
source = git+https://github.com/compiz-reloaded/ccsm.git
sha1sums = SKIP
pkgname = ccsm-git
- depends = compizconfig-python-git
- depends = python-gobject
- depends = python-cairo
- depends = hicolor-icon-theme
- depends = gtk2
-
-pkgname = ccsm-gtk3-git
- depends = compizconfig-python-git
- depends = python-gobject
- depends = python-cairo
- depends = hicolor-icon-theme
- depends = gtk3
diff --git a/PKGBUILD b/PKGBUILD
index ce7a5b4622f..7a58d3231d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,14 +5,14 @@
_upstream="ccsm"
-pkgname=(ccsm-git ccsm-gtk3-git)
-pkgver=0.8.12.3.r33.gaaf97ec
-pkgrel=1
-pkgdesc="Compizconfig Settings Manager in Python2"
+pkgname=ccsm-git
+pkgver=0.8.12.3.r34.g90a1551
+pkgrel=2
+pkgdesc="Compizconfig Settings Manager in Python (GTK+2 version)"
arch=('any')
url="https://github.com/compiz-reloaded/${_upstream}"
license=('GPL')
-depends=("compizconfig-python-git" 'python-gobject' 'python-cairo' 'hicolor-icon-theme')
+depends=("compizconfig-python-git" 'python-gobject' 'python-cairo' 'hicolor-icon-theme' 'gtk2')
makedepends=('intltool')
optdepends=('compiz-gtk-standalone: option 1' 'compiz-core: option 2')
groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
@@ -28,14 +28,7 @@ pkgver() {
git describe --long --tags|sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-package_ccsm-git() {
- depends+=('gtk2')
+package() {
cd "${srcdir}/${_upstream}"
python ./setup.py install --prefix=/usr --with-gtk=2.0 --root="${pkgdir}"
}
-
-package_ccsm-gtk3-git() {
- depends+=('gtk3')
- cd "${srcdir}/${_upstream}"
- python ./setup.py install --prefix=/usr --with-gtk=3.0 --root="${pkgdir}"
-}