blob: a4951b199aafb6ade91c37c97215d6b600cb1c4c (
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
|
# Maintainer: Jonathan Liu <net147@gmail.com>
pkgname=evrouter
pkgver=0.4
pkgrel=4
pkgdesc="An Input Event Router for Linux"
arch=('i686' 'x86_64')
url="http://www.bedroomlan.org/projects/evrouter"
license=('GPL2')
depends=('libxtst')
makedepends=('automake>=1.10.1')
source=(http://debian.bedroomlan.org/debian/pool/main/e/${pkgname}/${pkgname}_${pkgver}.tar.gz)
md5sums=('eef1b9d8e3b545c330eb025670ffa3e8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
aclocal
automake --add-missing
./configure --prefix=/usr --without-xmms
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -D -m644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
install -D -m644 debian/changelog "${pkgdir}/usr/share/doc/${pkgname}/changelog"
install -D -m644 debian/copyright "${pkgdir}/usr/share/doc/${pkgname}/copyright"
install -D -m755 src/example "${pkgdir}/usr/share/doc/${pkgname}/examples/example"
}
# vim:set ts=2 sw=2 et:
|