aboutsummaryrefslogtreecommitdiffstats
path: root/community/smooth/APKBUILD
blob: 4d8faad49ba9acb9b0ea650a02f8a2e93daf4a15 (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=smooth
pkgver=0.9.7
pkgrel=0
arch="all"
url="https://github.com/enzo1982/smooth"
pkgdesc="The smooth Class Library"
license="Artistic-2.0"
makedepends="
	curl-dev
	fribidi-dev
	gtk+3.0-dev
	libjpeg-turbo-dev
	libx11-dev
	libxml2-dev
	"
source="https://github.com/enzo1982/smooth/archive/v$pkgver/smooth-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
options="!check" # No tests

prepare() {
	default_prepare

	find . -type f -exec sed -i 's|/usr/local|/usr|g' {} \;
}

build() {
	make
}

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

sha512sums="d3def3859f24222bd2c46e47d9e9b7208dadaa460b60c0937a62e549565a01f8f1af9eef454914d7b0be69ab76b5057292861de6472be381cfae2fb5281a30dc  smooth-v0.9.7.tar.gz"