summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgenstern2019-04-11 12:42:37 +1200
committerMorgenstern2019-04-11 12:42:37 +1200
commitcceb477203a89bc6380e40b6ea6a24a1cb2e4379 (patch)
treee904d993e9762f5a4effb4b34fa8f4da65903285
downloadaur-cceb477203a89bc6380e40b6ea6a24a1cb2e4379.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD39
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d6515b5a7e9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = parcellite-git
+ pkgdesc = Lightweight GTK+ clipboard manager (git version)
+ pkgver = 1.2.1.r11.fa54161
+ pkgrel = 1
+ url = https://github.com/rickyrockrat/parcellite
+ arch = x86_64
+ license = GPL3
+ makedepends = intltool
+ makedepends = git
+ depends = gtk2
+ optdepends = xdotool: auto-paste support
+ provides = parcellite
+ conflicts = parcellite
+ source = parcellite-git::git://github.com/rickyrockrat/parcellite
+ sha256sums = SKIP
+
+pkgname = parcellite-git
+
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
+}