aboutsummaryrefslogtreecommitdiffstats
path: root/community/xeyes/APKBUILD
blob: b43ff3476bca3c931def54f23a97027b26c0c1b5 (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
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xeyes
pkgver=1.1.1
pkgrel=0
pkgdesc="A pair of eyes that follow your mouse in X11"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libx11-dev libxt-dev libxext-dev libxmu-dev libxrender-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure \
               --prefix=/usr \
               --datarootdir=/usr/share \
		|| return 1
	make || return 1
}

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

md5sums="a3035dcecdbdb89e864177c080924981  xeyes-1.1.1.tar.bz2"
sha256sums="975e98680cd59e1f9439016386609546ed08c284d0f05a95276f96aca6e8a521  xeyes-1.1.1.tar.bz2"
sha512sums="3cb734239fa3180a9cc0eb2564c5a04f5e5c64ea314079c0604cebdbb821132f95a2c113dab476af8820308f0e6dbd4eac02b5da45dc2ed78a5d3ca010453618  xeyes-1.1.1.tar.bz2"