summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a2d0732d3c9be172725b9987a9e4c5c98d9bf049 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: ubone <vns at $thisdistro dot net>
pkgname=sselp
pkgver=0.2
pkgrel=1
pkgdesc="Simple X selection printer. Prints the X selection to stdout."
arch=('i686' 'x86_64')
url="http://tools.suckless.org/x/sselp"
license=('MIT')
depends=('libx11')
source=(http://dl.suckless.org/tools/sselp-$pkgver.tar.gz)
md5sums=('b74d6558790d8df897db40bca90bc0f6')

build() {
        cd "$pkgname-$pkgver"
        make
}

package() {
        cd "$pkgname-$pkgver"
        make PREFIX=/usr DESTDIR="$pkgdir/" install
        install -m644 -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
        install -m644 -D README $pkgdir/usr/share/doc/$pkgname/README
}