Initial PKGBUILD status as of 28.11.2014

This commit is contained in:
Jaroslav Lichtblau 2014-11-28 20:17:14 +01:00
commit eea217b6c4
4 changed files with 64 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
pkgbase = neonview
pkgdesc = Free, lightweight image viewer
pkgver = 0.8.2
pkgrel = 1
url = http://www.tuxarena.com/intro/neonview.php
install = neonview.install
arch = i686
arch = x86_64
license = GPL
depends = desktop-file-utils
depends = gtk3
source = http://www.tuxarena.com/intro/files/neonview-0.8.2-src.tar.gz
source = neonview.desktop
sha256sums = f48fb09dabeb1ab1c348e5409d3cf84a4054f0838c5b2f2dabccc9115f114e46
sha256sums = b858e4e69883f1f675de69bdb22c271976ca64b5bf77a9f746629fada4a97ab8
pkgname = neonview

33
PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=neonview
pkgver=0.8.2
pkgrel=1
pkgdesc='Free, lightweight image viewer'
arch=('i686' 'x86_64')
url='http://www.tuxarena.com/intro/neonview.php'
license=('GPL')
depends=('desktop-file-utils' 'gtk3')
install=$pkgname.install
source=(http://www.tuxarena.com/intro/files/${pkgname}-${pkgver}-src.tar.gz \
$pkgname.desktop)
sha256sums=('f48fb09dabeb1ab1c348e5409d3cf84a4054f0838c5b2f2dabccc9115f114e46'
'b858e4e69883f1f675de69bdb22c271976ca64b5bf77a9f746629fada4a97ab8')
build() {
cd ${pkgname}-${pkgver}-src
make
}
package() {
cd ${pkgname}-${pkgver}-src
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
#.desktop file + icon
install -D -m644 ${srcdir}/$pkgname.desktop \
${pkgdir}/usr/share/applications/$pkgname.desktop
# install -D -m644 ${srcdir}/${pkgname}-${pkgver}-src/icon.png \
# ${pkgdir}/usr/share/pixmaps/$pkgname.png
}

8
neonview.desktop Normal file
View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Neonview
Exec=neonview
Comment=Lightweight image viewer
Terminal=false
Type=Application
Categories=Graphics;
Icon=neonview

5
neonview.install Normal file
View file

@ -0,0 +1,5 @@
post_install() {
echo -n "Updating desktop database ..."
update-desktop-database -q
echo " done."
}