Added pumpa from the AUR.

parent 4ed0b757
# Contributor: speps <speps dot aur dot archlinux dot org>
pkgname=pumpa
pkgver=0.7
pkgrel=1
pkgdesc="A simple pump.io client written in C++ and Qt"
arch=('i686' 'x86_64')
url="http://gitorious.org/pumpa"
license=('GPL3')
depends=('qt' 'qjson')
install="$pkgname.install"
source=("$url/pumpa/archive-tarball/v$pkgver")
md5sums=('8c5bb5a866d16a22671e551b486be360')
prepare() {
cd "$srcdir/$pkgname-$pkgname"
# desktop file paths fix
sed -e '/Exec/s/\./\/usr\/bin/' \
-e '/Icon/s/\.\/pumpa\/images/\/usr\/share\/pixmpas/' \
-i $pkgname.desktop
}
build() {
cd "$srcdir/$pkgname-$pkgname"
qmake
make
}
package() {
cd "$srcdir/$pkgname-$pkgname"
# bin
install -Dm755 $pkgname \
"$pkgdir/usr/bin/$pkgname"
# desktop file
install -Dm644 $pkgname.desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# icon
install -Dm644 images/$pkgname.png \
"$pkgdir/usr/share/pixmaps/$pkgname.png"
}
post_install() {
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment