summaryrefslogtreecommitdiff
path: root/community/sisctrl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
committerroot <root@rshg054.dnsready.net>2012-02-22 23:15:20 +0000
commit1d9fb21dff6df1679e536ab672edcbbdb4cf3a15 (patch)
tree803d7c2e3ac59d0ba8ac74c1b2a6dc6167937631 /community/sisctrl/PKGBUILD
parent1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (diff)
Wed Feb 22 23:15:20 UTC 2012
Diffstat (limited to 'community/sisctrl/PKGBUILD')
-rw-r--r--community/sisctrl/PKGBUILD28
1 files changed, 14 insertions, 14 deletions
diff --git a/community/sisctrl/PKGBUILD b/community/sisctrl/PKGBUILD
index e691edfe2..916997e99 100644
--- a/community/sisctrl/PKGBUILD
+++ b/community/sisctrl/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 17674 2010-05-24 20:38:47Z spupykin $
+# $Id: PKGBUILD 65441 2012-02-21 05:47:41Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ice-man <icemanf@gmail.com>
pkgname=sisctrl
pkgver=0.0.20051202
-pkgrel=5
+pkgrel=6
arch=(i686 x86_64)
-pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
+pkgdesc="Display Control Panel for XFree86/X.org SiS driver"
makedepends=('pkgconfig')
depends=('gtk2' 'libxxf86vm' 'libxv')
url="http://www.winischhofer.eu/linuxsisvga.shtml"
@@ -18,26 +18,26 @@ build() {
cd $srcdir/$pkgname-$pkgver
if [ -e /usr/lib/libXv.so ]; then
- ./configure --with-xv-path=/usr/lib
+ LDFLAGS=-lm ./configure --with-xv-path=/usr/lib
else
- ./configure
+ LDFLAGS=-lm ./configure
fi
- make || return 1
+ make
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
+ 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
mv $pkgdir/usr/man $pkgdir/usr/share/
}