mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
38 lines
906 B
Plaintext
38 lines
906 B
Plaintext
# 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"
|