blob: 0005e22728889a87a74571e7129131caf1799f7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"
|