blob: 584e35926b77b1e476e6a688043a53521e161222 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sisctrl
pkgver=0.0.20051202
pkgrel=3
pkgdesc="SiSCtrl is Display Control Panel for XFree86/X.org SiS driver"
url="http://www.winischhofer.net/linuxsisvga.shtml"
arch="all"
license="GPL"
depends=
makedepends="pkgconfig gtk+-dev libxxf86vm-dev libxrandr-dev libxinerama-dev
libxv-dev"
subpackages="$pkgname-doc"
source="http://www.winischhofer.net/sis/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-xv-path=/usr/lib \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/man/man1 \
"$pkgdir"/usr/share/pixmaps \
"$pkgdir"/usr/share/applications
install -m 644 sisctrl.1x "$pkgdir"/usr/share/man/man1/sisctrl.1
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
}
md5sums="d9db755fe9fd40809b5c30d1ab286d62 sisctrl-0.0.20051202.tar.gz"
|