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

prepare() {
	default_prepare

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

build() {
	make
}

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

sha512sums="ac9adc490b1c64001bfdabfb737acfabb5764845f800c9c0a9a13ec45ef5bde81e91b2e3bdefab631ca68e7698c7ef8c505e19c6de321cba925c301e631c13c6  smooth-0.9.3.tar.gz"