blob: d3830b958d82a025bdf83e8885c46eebd294aa4c (
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
|
# $Id: PKGBUILD 79472 2012-11-06 00:37:14Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: royrocks <royrocks13@gmail.com>
pkgname=tuxpaint-config
pkgver=0.0.12
pkgrel=2
pkgdesc='Tux Paint configuration tool'
arch=('x86_64' 'i686' 'mips64el')
url='http://www.tuxpaint.org'
license='GPL'
depends=('tuxpaint' 'fltk' 'libxft' 'libxext')
source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
sha256sums=('9395a1c92e52c3420cabaa0c781b607e6832b5d9b6180902615f102216e1c8fd')
build() {
cd $srcdir/$pkgname-$pkgver
make PREFIX=/usr
}
package() {
cd $srcdir/$pkgname-$pkgver
install -d -m755 $pkgdir/usr/bin/
install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/48x48/apps/
install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/32x32/apps/
install -d -m644 $pkgdir/opt/kde/share/icons/hicolor/16x16/apps/
make PREFIX=$pkgdir/usr DESTDIR=$pkgdir KDE_PREFIX=$pkgdir/opt/kde \
KDE_ICON_PREFIX=$pkgdir/opt/kde/share/icons install
install -D -m644 src/tuxpaint-config.desktop \
$pkgdir/usr/share/applications/tuxpaint-config.desktop
}
# vim:set ts=2 sw=2 et:
|