summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 75981c6e573..93f36141d92 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Kieran Colford <kieran@kcolford.com>
pkgname=hidclient
pkgver=20120728
-pkgrel=2
+pkgrel=3
epoch=
pkgdesc="Client program to transmit local keyboard events over bluetooth."
arch=('i686' 'x86_64')
-url="http://anselm.hoffmeister.be/computer/hidclient/"
+url="https://github.com/kcolford/hidclient"
license=('GPL')
groups=()
depends=('bluez-libs')
@@ -19,28 +19,28 @@ backup=()
options=()
install=
changelog=
-source=("$url/$pkgname-$pkgver.tar.bz2"
+source=("$url/archive/$pkgver.tar.gz"
"0001-f10-escape.patch"
"bluetooth-daemon-compat.conf")
-md5sums=('70ca8cabf77dbe9b70ba62808942dc29'
+md5sums=('7b4cef8d78af5c1290ed1552b28b052f'
'c8b66710490670e33a1821b95b3b3c59'
'62df889c8144db07f95e289dea97996f')
noextract=()
prepare() {
- cd "$srcdir/"
+ cd "$pkgname-$pkgver"
patch -p1 < "$srcdir/0001-f10-escape.patch"
}
build() {
- cd "$srcdir/"
+ cd "$pkgname-$pkgver"
make
}
package() {
- cd "$srcdir/"
- install -Dt "$pkgdir"/usr/bin hidclient
install -Dt "$pkgdir"/usr/lib/systemd/system/bluetooth.service.d -m644 bluetooth-daemon-compat.conf
+ cd "$pkgname-$pkgver"
+ install -Dt "$pkgdir"/usr/bin hidclient
}
# vim:set ts=2 sw=2 et: