summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eb168fb8dad
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Justin Wong <i(at)bigeagle(dot)me>
+
+pkgname=udevedu-git
+_pkgname=udevedu
+pkgver=0.r13.26a521f
+pkgrel=1
+pkgdesc="Udev event dispatcher for unprivileged users"
+arch=('i686' 'x86_64')
+url="https://github.com/xiaq/udevedu"
+license=('GPL')
+depends=('python-pyudev')
+makedepends=('git')
+sha256sums=('SKIP')
+source=("${pkgname}::git+https://github.com/xiaq/${_pkgname}.git")
+
+pkgver() {
+ cd "${pkgname}"
+ printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+
+package() {
+ cd "$srcdir/${pkgname}"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}