summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMorgenstern2019-04-11 12:42:37 +1200
committerMorgenstern2019-04-11 12:42:37 +1200
commitcceb477203a89bc6380e40b6ea6a24a1cb2e4379 (patch)
treee904d993e9762f5a4effb4b34fa8f4da65903285 /PKGBUILD
downloadaur-cceb477203a89bc6380e40b6ea6a24a1cb2e4379.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..eda0e547d55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Morgenstern <charles [at] charlesbwise [dot] com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=parcellite-git
+pkgver=1.2.1.r11.fa54161
+pkgrel=1
+pkgdesc="Lightweight GTK+ clipboard manager (git version)"
+arch=('x86_64')
+url="https://github.com/rickyrockrat/parcellite"
+license=('GPL3')
+depends=('gtk2')
+makedepends=('intltool' 'git')
+optdepends=('xdotool: auto-paste support')
+conflicts=('parcellite')
+provides=('parcellite')
+source=("$pkgname"::'git://github.com/rickyrockrat/parcellite')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "$srcdir/$pkgname"
+ autoreconf -i
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+}