summaryrefslogtreecommitdiff
path: root/repo/x11/xsel.xibuild
blob: ee59b5bc7d48df8986479dcbec641c53ca097928 (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
#!/bin/sh

NAME="xsel"
DESC="Command-line program for manipulating the X selection"

MAKEDEPS="make "
DEPS="libx11 "

PKG_VER=1.2.0_git20190821
git_rev=ef01f3c72a195dbce682184c842b81b17d7d7ad1
SOURCE="https://github.com/kfish/xsel/archive/$git_rev/xsel-$git_rev.tar.gz"

prepare () {
    autoreconf -fi
}

build () {
    ./configure \
        --prefix=/usr \
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}