blob: 3756e7e995083b203f3285d4bb33f3939ea30160 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: libernux <dutchman55@gmx.com>
pkgname=wmtrash
pkgver=0.2
pkgrel=4
pkgdesc="Simple yet useful trash dockapp"
arch=('i686' 'x86_64')
#url="http://dockapps.windowmaker.org/file.php/id/266"
url="http://web.archive.org/web/20121201053438/http://dockapps.windowmaker.org/file.php/id/266"
license=('GPL')
groups=('x11')
depends=('gtk2')
#source=(http://dockapps.windowmaker.org/download.php/id/555/$pkgname-$pkgver.tar.gz)
source=($pkgname-$pkgver.tar.gz
gtk2.patch)
md5sums=('f804a71a5537d1c7373815bbf0cd9b86'
'f25a33787d871f08ca338d5b352886f4')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np2 -b -z .orig -i ../gtk2.patch
}
build() {
cd "$srcdir/$pkgname-$pkgver"
rm wmtrash # because there is an old executable in tar-file !!
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -d "$pkgdir/usr/share/$pkgname"
install -m644 ./conf/* "$pkgdir/usr/share/$pkgname"
}
|