summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormilaq2018-01-15 16:38:03 +0100
committermilaq2018-01-15 16:38:03 +0100
commit6225c8e4cde64e25004b4442caf71356c366ace7 (patch)
tree9830ac876b4051ddd7a132279ad298b7bc17997b
downloadaur-6225c8e4cde64e25004b4442caf71356c366ace7.tar.gz
initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD31
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..8d1d8bc02e05
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = xmousepasteblock-git
+ pkgdesc = Middle mouse button primary X selection/clipboard paste disabler.
+ pkgver = 1.0.r0.gef7887d
+ pkgrel = 1
+ url = https://github.com/milaq/XMousePasteBlock
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = libxi
+ depends = libx11
+ depends = libev
+ provides = xmousepasteblock
+ source = git://github.com/milaq/XMousePasteBlock#branch=master
+ sha1sums = SKIP
+
+pkgname = xmousepasteblock-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..fb15eb379761
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# vim:ts=4:sw=4:expandtab
+# Maintainer: milaq <micha.laqua@gmail.com>
+pkgname=xmousepasteblock-git
+pkgver=1.0.r0.gef7887d
+pkgrel=1
+pkgdesc='Middle mouse button primary X selection/clipboard paste disabler.'
+arch=('i686' 'x86_64')
+url='https://github.com/milaq/XMousePasteBlock'
+license=('GPL')
+provides=('xmousepasteblock')
+depends=('libxi' 'libx11' 'libev')
+makedepends=('git')
+source=('git://github.com/milaq/XMousePasteBlock#branch=master')
+sha1sums=('SKIP')
+
+_gitname='XMousePasteBlock'
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$_gitname"
+ make all
+}
+
+package() {
+ cd "$_gitname"
+ make DESTDIR="$pkgdir/" install
+}