aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xsel
diff options
context:
space:
mode:
authordai9ah <dai9ah@protonmail.com>2018-02-17 02:33:39 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-02-25 09:12:21 +0100
commit7536d0b02d459f90f2cf78e07ba2ac6687229add (patch)
treec877b108d2e9cc3d1279f365dfc5f1a400d0733b /testing/xsel
parent496a80e3786505d0cc25891657d4f37a327c5db1 (diff)
downloadaports-7536d0b02d459f90f2cf78e07ba2ac6687229add.tar.bz2
aports-7536d0b02d459f90f2cf78e07ba2ac6687229add.tar.xz
testing/xsel: new aport
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"