summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 23e6c728b7b..e85f4f640bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,12 +4,12 @@
pkgname=xfce-theme-manager
_pkgname=Xfce-Theme-Manager
pkgver=3.8
-pkgrel=1
+pkgrel=2
pkgdesc="Integrated theme manager for xfce4"
arch=(i686 x86_64)
-url="https://github.com/KeithDHedger/Xfce-Theme-Manager"
+url=https://github.com/KeithDHedger/Xfce-Theme-Manager
license=(GPL3)
-depends=(gdk-pixbuf2 cairo libxcursor libxfce4ui)
+depends=(gtk2 gdk-pixbuf2 cairo libxcursor libxfce4ui)
optdepends=('xfce4-composite-editor: A simple GUI to tweak xfwm, can be launched from xfce-theme-manager')
makedepends=(pkg-config)
source=("https://github.com/KeithDHedger/$_pkgname/archive/v${pkgver}.tar.gz")
@@ -17,7 +17,7 @@ sha256sums=('da4b6b0ea9b9acde30893358ce2c997f298ffc6fac32e84aab6fa141b7bf26eb')
build() {
cd "$_pkgname-$pkgver"
- ./autogen.sh --prefix="$pkgdir"/usr
+ ./autogen.sh --prefix="$pkgdir/usr"
sed -i \
's#/PREFIX/share/Xfce\\-Theme\\-Manager/scripts#/usr/share/xfce\\-theme\\-manager/scripts#g' \
"$srcdir"/$_pkgname-$pkgver/$_pkgname/resources/man/*
@@ -27,15 +27,17 @@ build() {
}
package() {
- install -m 755 -d "$pkgdir"/usr/bin \
- "$pkgdir"/usr/share/applications \
- "$pkgdir"/usr/share/doc/xfce-theme-manager
+ install -m 0755 -d "$pkgdir/usr/bin" \
+ "$pkgdir/usr/share/applications" \
+ "$pkgdir/usr/share/doc/xfce-theme-manager"
- cd "$srcdir/$_pkgname-$pkgver"
+ cd $_pkgname-$pkgver
make CXXFLAGS="$CXXFLAGS -O3 -Wall `pkg-config --cflags --libs glib-2.0` `pkg-config --cflags --libs gdk-2.0` `pkg-config --cflags --libs gtk+-2.0` `pkg-config --cflags --libs xcursor` `pkg-config --cflags --libs gthread-2.0`" PREFIX="$pkgdir/usr" install
- install -m 644 README* "$pkgdir"/usr/share/doc/$pkgname/
- install -m 644 ChangeLog* "$pkgdir"/usr/share/doc/$pkgname/
+ install -m 0644 README* "$pkgdir"/usr/share/doc/$pkgname/
+ install -m 0644 ChangeLog* "$pkgdir"/usr/share/doc/$pkgname/
mv "$pkgdir"/usr/share/{$_pkgname,$pkgname}
mv "$pkgdir"/usr/share/applications/{$_pkgname,$pkgname}.desktop
}
+
+# vim: set ts=2 sw=2 et: