2011-06-16 13:04:10 +00:00
|
|
|
# Maintainer: Kai Uwe Jesussek <kajot@gmx.net>
|
|
|
|
|
|
|
|
pkgname=mouse-emul-git
|
2013-04-08 17:24:21 +00:00
|
|
|
pkgver=13.3b2012c
|
|
|
|
pkgver(){
|
|
|
|
cd $srcdir/mouse-emul
|
|
|
|
echo $(git rev-list --count master).$(git rev-parse --short master)
|
|
|
|
}
|
2011-06-16 13:04:10 +00:00
|
|
|
pkgrel=1
|
2013-04-08 17:24:21 +00:00
|
|
|
epoch=1
|
2011-06-16 13:04:10 +00:00
|
|
|
plugrel=1
|
|
|
|
pkgdesc="Tiny mouse emulator"
|
|
|
|
arch=('arm' 'i686' 'x86_64')
|
|
|
|
license=('GPL2')
|
|
|
|
provides=('mouse-emul')
|
2013-04-08 17:24:21 +00:00
|
|
|
source=("rc-d-mouse-emul" "conf-d-mouse-emul"
|
2022-03-19 15:48:31 +00:00
|
|
|
"git+https://github.com/anarsoul/mouse-emul.git"
|
2013-04-08 17:24:21 +00:00
|
|
|
"mouse-emul.service")
|
2011-06-18 10:21:23 +00:00
|
|
|
url="https://github.com/anarsoul/mouse-emul"
|
2011-06-16 13:04:10 +00:00
|
|
|
makedepends=('git')
|
2013-04-08 17:24:21 +00:00
|
|
|
md5sums=('SKIP')
|
|
|
|
|
|
|
|
_gitname=mouse-emul
|
2011-06-16 13:04:10 +00:00
|
|
|
|
|
|
|
build() {
|
2013-04-08 17:24:21 +00:00
|
|
|
cd ${srcdir}/${_gitname}
|
|
|
|
make
|
|
|
|
}
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${_gitname}
|
2011-06-16 13:04:10 +00:00
|
|
|
|
2013-04-08 17:24:21 +00:00
|
|
|
make PREFIX=/usr DESTDIR=${pkgdir} install
|
2011-06-16 13:04:10 +00:00
|
|
|
|
2013-04-08 17:24:21 +00:00
|
|
|
install -Dm755 ${srcdir}/rc-d-mouse-emul ${pkgdir}/etc/rc.d/mouse-emul
|
|
|
|
install -Dm644 ${srcdir}/conf-d-mouse-emul ${pkgdir}/etc/conf.d/mouse-emul
|
|
|
|
install -Dm644 "$srcdir/mouse-emul.service" "$pkgdir/usr/lib/systemd/system/mouse-emul.service"
|
2011-06-16 13:04:10 +00:00
|
|
|
touch ${pkgdir}/etc/mouse-emulrc
|
|
|
|
}
|
2013-04-08 17:24:21 +00:00
|
|
|
md5sums=('47b35f3d6281dd67add9ea9c62bfc782'
|
|
|
|
'9771ecbee361c73e6f50b64fe1083a38'
|
|
|
|
'SKIP'
|
|
|
|
'11c2e47a35bd62d380393b4042556d2b')
|