summaryrefslogtreecommitdiff
path: root/repo/slop/slop.xibuild
blob: 73bbb60a0f0f8397fe84e77ce30dbe547d7a5f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

NAME="slop"
DESC="Application that queries for a selection from the user and prints the region to stdout"

MAKEDEPS="cmake icu libice libsm libx11 libxext libxrender glm glew"

PKG_VER=7.6
SOURCE="https://github.com/naelstrof/slop/archive/v$PKG_VER.tar.gz"

build () {
    cmake  \
        -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DBUILD_SHARED_LIBS=True \
        -DBUILD_STATIC_LIBS=OFF .
    make
}

package () {
	make DESTDIR="$PKG_DEST" install 
}