summaryrefslogtreecommitdiffstats
path: root/main/xfce4-notes-plugin/APKBUILD
blob: fba2bfba05894495ed98c05026da898988e4e74e (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
42
# Contributor: 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notes-plugin
pkgver=1.7.7
pkgrel=5
pkgdesc="Notes plugin for the Xfce4 desktop"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin"
arch="all"
license="GPL"
depends=
makedepends="xfce4-panel-dev libunique-dev libxfcegui4-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/1.7/xfce4-notes-plugin-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	find "$pkgdir" -name '*.la' -delete
}

md5sums="42b924b23f2fec6a1099e9b7a87db4a3  xfce4-notes-plugin-1.7.7.tar.bz2"