summaryrefslogtreecommitdiff
path: root/user/xclip
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-06-26 03:54:42 -0700
committerDan Theisen <djt@hxx.in>2018-06-26 04:00:59 -0700
commitcaca3f0aeb2159e8a644b43608d7d6fbb7887434 (patch)
treeb7a731e0cf49b2db30bf0b219e18f208fd7000a0 /user/xclip
parent191107d09da8932cb3d9a1ccfd97de0b1e475d8d (diff)
downloadpackages-caca3f0aeb2159e8a644b43608d7d6fbb7887434.tar.gz
packages-caca3f0aeb2159e8a644b43608d7d6fbb7887434.tar.bz2
packages-caca3f0aeb2159e8a644b43608d7d6fbb7887434.tar.xz
packages-caca3f0aeb2159e8a644b43608d7d6fbb7887434.zip
user/xclip: add for password-store
Diffstat (limited to 'user/xclip')
-rw-r--r--user/xclip/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/xclip/APKBUILD b/user/xclip/APKBUILD
new file mode 100644
index 000000000..fe019c30c
--- /dev/null
+++ b/user/xclip/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Orion <systmkor@gmail.com>
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Dan Theisen <djt@hxx.in>
+pkgname=xclip
+pkgver=0.13
+pkgrel=0
+pkgdesc="Command line interface to the X11 clipboard"
+url="https://github.com/astrand/xclip"
+arch="all"
+options="!check" # this package has no tests
+license="GPL-2.0-only"
+depends=""
+depends_dev=""
+makedepends="libxmu-dev libx11-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/astrand/${pkgname}/archive/${pkgver}.tar.gz"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ autoreconf -vif
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 README ChangeLog \
+ "$pkgdir"/usr/share/doc/$pkgname/
+}
+
+sha512sums="191a86194a1503a47c6641a55855dc4aaa8c2c99d2e6f1d46e727feec85a6639041f37ec2265c05c178c0c7d791d3e88bde89223f879effa878812f078485ed2 xclip-0.13.tar.gz"