aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-24 18:35:12 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-02-25 08:25:49 -0300
commit5f11895d986f6d73b69bd3f02c980f7254a857ab (patch)
tree1b503f6d81b30a6b205e67fdd41e4c8bcbd66d83
parent4a030699445ec28323517a0f531676a00c2884a9 (diff)
community/xclip: fix license
-rw-r--r--community/xclip/APKBUILD26
1 files changed, 9 insertions, 17 deletions
diff --git a/community/xclip/APKBUILD b/community/xclip/APKBUILD
index 9aa15a1ffa6..bca2f8558bc 100644
--- a/community/xclip/APKBUILD
+++ b/community/xclip/APKBUILD
@@ -2,45 +2,37 @@
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=xclip
pkgver=0.13
-pkgrel=0
+pkgrel=1
pkgdesc="Command line interface to the X11 clipboard"
url="https://github.com/astrand/xclip"
arch="all"
-license="GPL-2.0"
-depends=""
-depends_dev=""
+license="GPL-2.0-or-later"
makedepends="autoconf automake libxmu-dev libx11-dev"
-install=""
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/astrand/${pkgname}/archive/${pkgver}.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+source="$pkgname-$pkgver.tar.gz::https://github.com/astrand/xclip/archive/$pkgver.tar.gz"
prepare() {
- cd "$builddir"
- default_prepare || return 1
- autoreconf -vif || return 1
+ default_prepare
+ autoreconf -vif
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 README ChangeLog \
- "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+ "$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="191a86194a1503a47c6641a55855dc4aaa8c2c99d2e6f1d46e727feec85a6639041f37ec2265c05c178c0c7d791d3e88bde89223f879effa878812f078485ed2 xclip-0.13.tar.gz"