diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-27 23:45:43 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-03-28 00:00:34 +0000 |
commit | 8844d75a425f3e2a5464753bd0261e9baea20d0d (patch) | |
tree | 1731641a535b7ee981dd0f6c118988f26f6c653c /main/xf86-video-apm/APKBUILD | |
parent | f4a91dc87a9f1c0fa354bde97351fc9f40c281e2 (diff) | |
download | aports-8844d75a425f3e2a5464753bd0261e9baea20d0d.tar.bz2 aports-8844d75a425f3e2a5464753bd0261e9baea20d0d.tar.xz |
main/xf86-video-apm: rebuild against xorg-server-1.12
Diffstat (limited to 'main/xf86-video-apm/APKBUILD')
-rw-r--r-- | main/xf86-video-apm/APKBUILD | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/main/xf86-video-apm/APKBUILD b/main/xf86-video-apm/APKBUILD index a60d5a2b63..e72957da90 100644 --- a/main/xf86-video-apm/APKBUILD +++ b/main/xf86-video-apm/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xf86-video-apm pkgver=1.2.3 -pkgrel=2 +pkgrel=3 pkgdesc="Alliance ProMotion video driver" url="http://xorg.freedesktop.org/" arch="all" @@ -11,7 +11,18 @@ depends= makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto videoproto renderproto" -source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2" +source="http://xorg.freedesktop.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2 + apm-1.2.3-git.patch + " + +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} build() { cd "$srcdir"/$pkgname-$pkgver @@ -27,4 +38,5 @@ package() { rm "$pkgdir"/usr/lib/xorg/modules/drivers/*.la || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } -md5sums="a3743a971b3acb7de3d2eefc8b1a4834 xf86-video-apm-1.2.3.tar.bz2" +md5sums="a3743a971b3acb7de3d2eefc8b1a4834 xf86-video-apm-1.2.3.tar.bz2 +53d71f20d5683443d5a72a817c37209d apm-1.2.3-git.patch" |