summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Papakostas2015-11-09 15:11:25 -0600
committerJason Papakostas2015-11-09 15:11:25 -0600
commit1b1d7d1527253068d51192b71a96325606499a04 (patch)
tree8480d05077882c479cb5c600536b69301d340891
downloadaur-1b1d7d1527253068d51192b71a96325606499a04.tar.gz
initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD38
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a4922586c41
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = xsel-git
+ pkgdesc = a command-line program for getting and setting the contents of the X selection
+ pkgver = r50.9674445
+ pkgrel = 1
+ url = http://www.vergenet.net/~conrad/software/xsel/
+ arch = i686
+ arch = x86_64
+ license = custom
+ makedepends = libxt
+ makedepends = git
+ depends = libx11
+ provides = xsel
+ conflicts = xsel
+ source = git+https://github.com/kfish/xsel.git
+ sha256sums = SKIP
+
+pkgname = xsel-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c4c2e57232e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Jason Papakostas <vithos@gmail.com>
+pkgname=xsel-git
+pkgver=r50.9674445
+pkgrel=1
+pkgdesc='a command-line program for getting and setting the contents of the X selection'
+arch=(i686 x86_64)
+url='http://www.vergenet.net/~conrad/software/xsel/'
+license=('custom')
+depends=('libx11')
+makedepends=('libxt' 'git')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+source=('git+https://github.com/kfish/xsel.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${pkgname%-git}"
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/${pkgname%-git}"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/${pkgname%-git}"
+ make DESTDIR="$pkgdir" install
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
+ install -D -m0644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}