blob: d6ba683e39cc96df9efc264ee857839758011414 (
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
43
44
45
46
47
48
49
|
# Contributor:
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-notes-plugin
pkgver=1.8.0
pkgrel=0
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 libxfce4ui-dev"
install=
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/${pkgver%.*}/xfce4-notes-plugin-$pkgver.tar.bz2
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;;
esac
done
}
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="569341bc27e2e46d23b6bffc14bff41a xfce4-notes-plugin-1.8.0.tar.bz2"
sha256sums="3627b7da0533ca3fb10310f287dc0d569470960ffdaea7678fd878a20d409678 xfce4-notes-plugin-1.8.0.tar.bz2"
sha512sums="ef1817fc0b8202f789cf0b6c0db3c0fea8cbdcaee33501db4e3f551bbe7609eb984dfd4f6be87e0c883e7d18d303dd46922676d3cb7f0249d03e60eb50ccb11f xfce4-notes-plugin-1.8.0.tar.bz2"
|