mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/xsel: new aport
This commit is contained in:
parent
496a80e378
commit
7536d0b02d
37
testing/xsel/APKBUILD
Normal file
37
testing/xsel/APKBUILD
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user