summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/ddcxinfo/PKGBUILD
blob: b358c0c9b0ac9142c103ccdd6cf264037520673b (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
pkgname=ddcxinfo
pkgver=0.6.19
pkgrel=3
pkgdesc="DDC readout using the VESA BIOS extension"
url="http://www.t2-project.org/packages/ddcxinfo.html"
license="GPL"
depends=(x-server)
makedepends=()
conflicts=()
replaces=()
backup=()
arch=('i686')
install=
source=(http://www.kanotix.com/files/debian/pool/main/d/ddcxinfo-kanotix/$pkgname-kanotix_$pkgver.tar.gz
        lrmi.patch)


build() {
  cd $startdir/src/$pkgname-kanotix-$pkgver
  mkdir -p  $startdir/pkg/usr/sbin
  patch -p1 < $startdir/src/lrmi.patch
  make DESTDIR=$startdir/pkg install
  cp svgamodes $startdir/pkg/usr/sbin/
  chmod +s $startdir/pkg/usr/sbin/ddcprobe
}