updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / kitsh / PKGBUILD
blobcd923a62958cf5248e9ebe66d80091e4e897d92f
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=kitsh
4 pkgver=0.42
5 pkgrel=1
6 pkgdesc="A tasteless WebKit shell."
7 arch=(i686 x86_64)
8 url="http://code.google.com/p/kitsh/"
9 license=('GPL3')
10 depends=('libwebkit')
11 install="$pkgname.install"
12 source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.bz2"
13         "$pkgname.desktop")
14 md5sums=('a0d548465c5e28a7dfa1d0dbdcfb27bc'
15          '6e8b53b2c4a99099d09ca51670b550b5')
17 build() {
18   cd "$srcdir/$pkgname-$pkgver"
20   sh $pkgname.c
23 package() {
24   cd "$srcdir/$pkgname-$pkgver"
26   # bin
27   install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
29   # data
30   install -d "$pkgdir/usr/share/$pkgname"
31   install -Dm644 $pkgname.{jsh,png,jsl} readme.txt \
32     "$pkgdir/usr/share/$pkgname"
34   # lib
35   install -Dm644 lib/jquery.js "$pkgdir/usr/share/$pkgname/lib/jquery.js"
37   # tests
38   cp -a tests "$pkgdir/usr/share/$pkgname"
40   # docs
41   install -d "$pkgdir/usr/share/doc/$pkgname"
42   install -Dm644 doc/* "$pkgdir/usr/share/doc/$pkgname"
44   # desktop file and icon
45   install -Dm644 ../$pkgname.desktop \
46     "$pkgdir/usr/share/applications/$pkgname.desktop"
47   install -Dm644 $pkgname.png \
48     "$pkgdir/usr/share/pixmaps/$pkgname.png"
51 # vim:set ts=2 sw=2 et: