summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Down2020-03-05 12:45:22 +0000
committerChris Down2020-03-05 12:45:48 +0000
commit1b8fa4622909273f17249405db870d9a673ac91f (patch)
treeb1d0789500c2a469adef39bd9c96303375cb3ce7
downloadaur-1b8fa4622909273f17249405db870d9a673ac91f.tar.gz
Initial upload: clipmenu-git 5.6.0.r9.ga495bcc-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD37
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..82d2d78f452
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = clipmenu-git
+ pkgdesc = Clipboard management using dmenu
+ pkgver = 5.6.0.r9.ga495bcc
+ pkgrel = 1
+ url = http://github.com/cdown/clipmenu
+ arch = any
+ license = Public Domain
+ makedepends = git
+ depends = dmenu
+ depends = xsel
+ depends = clipnotify
+ provides = clipmenu
+ conflicts = clipmenu
+ source = git://github.com/cdown/clipmenu.git
+ md5sums = SKIP
+
+pkgname = clipmenu-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..af9ed2359a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Chris Down <chris@chrisdown.name>
+
+pkgname=clipmenu-git
+_gitname=clipmenu
+pkgver=5.6.0.r9.ga495bcc
+pkgrel=1
+pkgdesc='Clipboard management using dmenu'
+url='http://github.com/cdown/clipmenu'
+arch=('any')
+license=('Public Domain')
+depends=(dmenu xsel clipnotify)
+provides=(clipmenu)
+conflicts=(clipmenu)
+makedepends=(git)
+
+source=(git://github.com/cdown/clipmenu.git)
+md5sums=(SKIP)
+
+pkgver() {
+ cd "$_gitname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ install -D -m755 \
+ "${srcdir?}/$_gitname/clipmenu" \
+ "${pkgdir?}/usr/bin/clipmenu"
+ install -D -m755 \
+ "${srcdir?}/$_gitname/clipmenud" \
+ "${pkgdir?}/usr/bin/clipmenud"
+ install -D -m755 \
+ "${srcdir?}/$_gitname/clipdel" \
+ "${pkgdir?}/usr/bin/clipdel"
+ install -D -m644 \
+ "${srcdir?}/$_gitname/init/clipmenud.service" \
+ "${pkgdir?}/usr/lib/systemd/user/clipmenud.service"
+}