diff --git a/lightweight2/PKGBUILD b/lightweight2/PKGBUILD new file mode 100644 index 000000000..a7344e954 --- /dev/null +++ b/lightweight2/PKGBUILD @@ -0,0 +1,35 @@ +# +# Apps Packages for Chakra, part of chakra-project.org +# +# maintainer (i686): Phil Miller +# maintainer (x86_64): Manuel Tortosa +# contributor Neo Kolokotronis + +pkgname=lightweight2 +pkgver=1.4 +pkgrel=1 +pkgdesc="Very small browser using Qt libraries" +url="http://qt-apps.org/content/show.php/Lightweight2?content=139266" +arch=('i686' 'x86_64') +license=('GPL') +depends=('qt') +source=(http://qt-apps.org/CONTENT/content-files/139266-Lightweight2-$pkgver.tar.gz + lightweight2.desktop) +md5sums=('2c068b049ebdb892f590eba893d5abe5' + '2f9807285a32b560b0df346f79ab36f6') + +build() { + cd $srcdir/Lightweight2-$pkgver/ + qmake PREFIX="$(kde4-config --prefix)" + make +} + +package() { + cd $srcdir/Lightweight2-$pkgver/ + install -Dm755 Lightweight2 $pkgdir/usr/bin/lightweight2 + + # Desktop icon + cd ./icons + install -Dm644 logo.png $pkgdir/usr/share/pixmaps/lightweight2.png + install -Dm644 $startdir/lightweight2.desktop $pkgdir/usr/share/applications/lightweight2.desktop +} \ No newline at end of file diff --git a/lightweight2/lightweight2.desktop b/lightweight2/lightweight2.desktop new file mode 100755 index 000000000..8a9436f29 --- /dev/null +++ b/lightweight2/lightweight2.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Lightweight2 +GenericName=Small Browser +Exec=lightweight2 +Icon=/usr/share/pixmaps/lightweight2.png +Categories=Network