mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# $Id: PKGBUILD 36716 2009-04-27 00:31:24Z eric $
|
|
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
pkgname=xf86-input-dmc
|
|
pkgver=1.1.2
|
|
pkgrel=3
|
|
pkgdesc="X.Org DMC FIT10 serial input driver"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('glibc')
|
|
makedepends=('pkgconfig' 'xorg-server>=1.6.0' 'xorg-util-macros')
|
|
conflicts=('xorg-server<1.6.0')
|
|
options=('!libtool')
|
|
groups=('xorg-input-drivers')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
|
|
git-4e3c2643.patch LICENSE)
|
|
md5sums=('91021ea8f3593221c0d9ee9cc14deb48' '61000eaa4c7c7d9bb23ff0a41ba7ee57'\
|
|
'bddb411864188e2f3788c86d33720163')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/git-4e3c2643.patch" || return 1
|
|
libtoolize --force || return 1
|
|
aclocal || return 1
|
|
autoconf || return 1
|
|
automake || return 1
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|