aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xsel
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xsel')
-rw-r--r--testing/xsel/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/xsel/APKBUILD b/testing/xsel/APKBUILD
new file mode 100644
index 0000000000..0005e22728
--- /dev/null
+++ b/testing/xsel/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: dai9ah <dai9ah@protonmail.com>
+# Maintainer: dai9ah <dai9ah@protonmail.com>
+pkgname=xsel
+pkgver=1.2.0
+pkgrel=0
+pkgdesc="Command-line program for manipulating the X selection"
+url="http://www.vergenet.net/~conrad/software/xsel"
+arch="all"
+license="MIT"
+makedepends="libxt-dev"
+subpackages="$pkgname-doc"
+source="http://www.vergenet.net/~conrad/software/$pkgname/download/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ ./xsel --help > /dev/null
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e28623e6cc180f2e2210c20697d21d336633f0a5272ca9b62150a1c535e8de89731acc07230a9977e391e37d3943a9d687f1f967765a15bca5092a6c6d8c4d8f xsel-1.2.0.tar.gz"