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

NAME="xclip"
DESC="Command line interface to the X11 clipboard"

MAKEDEPS="make "
DEPS="libx11 musl libxmu "

PKG_VER=0.13
SOURCE="https://github.com/astrand/xclip/archive/$PKG_VER.tar.gz"

prepare () {
	autoreconf -vif
}

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

package () {
    make DESTDIR=$PKG_DEST install
}