aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xvidtune/APKBUILD
blob: e6464fad9a3e400fdb7140d0ec2009c705b9fed9 (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
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Taner Tas <taner76@gmail.com>
pkgname=xvidtune
pkgver="1.0.3"
pkgrel=0
pkgdesc="A client interface to the X server video mode extension."
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
makedepends="libx11-dev libxxf86vm-dev libxaw-dev libxmu-dev libxt-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2"

prepare() {
	default_prepare

	cd "$builddir"
	chmod +w config.guess config.sub
	update_config_guess && update_config_sub
}

build() {
	cd "$builddir"
	 ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check(){
	cd "$builddir"
	make check
}

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

sha512sums="0f8a4fca1b544ef8f9623246fb0ece75739a0889f2e729c040cd768c595f0bbbfa3a665576369032535c34c7d55784a29b62f0d51432bf2b75d2cec619db7352  xvidtune-1.0.3.tar.bz2"