summaryrefslogtreecommitdiff
path: root/community/sisctrl
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/sisctrl
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/sisctrl')
-rw-r--r--community/sisctrl/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/sisctrl/PKGBUILD b/community/sisctrl/PKGBUILD
new file mode 100644
index 000000000..e691edfe2
--- /dev/null
+++ b/community/sisctrl/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 17674 2010-05-24 20:38:47Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: ice-man <icemanf@gmail.com>
+
+pkgname=sisctrl
+pkgver=0.0.20051202
+pkgrel=5
+arch=(i686 x86_64)
+pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
+makedepends=('pkgconfig')
+depends=('gtk2' 'libxxf86vm' 'libxv')
+url="http://www.winischhofer.eu/linuxsisvga.shtml"
+license=("GPL")
+source=(http://www.winischhofer.net/sis/sisctrl-$pkgver.tar.gz)
+md5sums=('d9db755fe9fd40809b5c30d1ab286d62')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ if [ -e /usr/lib/libXv.so ]; then
+ ./configure --with-xv-path=/usr/lib
+ else
+ ./configure
+ fi
+
+ make || return 1
+
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/man/man1/
+ mkdir -p $pkgdir/usr/share/pixmaps
+ mkdir -p $pkgdir/usr/share/applications
+
+ install -m 755 sisctrl $pkgdir/usr/bin && \
+ cp sisctrl.1x sisctrl.1; gzip sisctrl.1 && \
+ install -m 644 sisctrl.1.gz $pkgdir/usr/man/man1/ && \
+ install -m 644 icons/32x32/sisctrl.xpm $pkgdir/usr/share/pixmaps && \
+ install -m 644 icons/16x16/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_16x16.png && \
+ install -m 644 icons/32x32/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_32x32.png && \
+ install -m 644 icons/48x48/sisctrl.png $pkgdir/usr/share/pixmaps/sisctrl_48x48.png && \
+ install -m 644 extra/sisctrl.desktop $pkgdir/usr/share/applications || return 1
+
+ mv $pkgdir/usr/man $pkgdir/usr/share/
+}