desktop/pumpa/PKGBUILD

46 lines
1.2 KiB
Bash
Raw Normal View History

2013-08-09 04:07:46 +08:00
# Contributor: speps <speps dot aur dot archlinux dot org>
pkgname=pumpa
2016-02-07 08:59:47 +08:00
pkgver=0.9.2
2013-08-09 04:07:46 +08:00
pkgrel=1
pkgdesc="A simple pump.io client written in C++ and Qt"
2014-04-14 23:19:34 +08:00
arch=('x86_64')
2015-06-11 06:58:19 +08:00
url="https://pumpa.branchable.com/"
2013-08-09 04:07:46 +08:00
license=('GPL3')
2015-06-11 06:58:19 +08:00
depends=('qt5-base' 'qjson' 'tidyhtml' 'aspell')
2013-08-09 04:07:46 +08:00
install="$pkgname.install"
2016-02-07 08:59:47 +08:00
source=("https://saz.im/software/downloads/pumpa/pumpa-${pkgver}.tar.xz")
sha256sums=('3ff51a0dc8a966e06d3472b0424c86980c34fc18fede3c59a442d95505922315')
2013-08-09 04:07:46 +08:00
2016-02-07 08:59:47 +08:00
# A small comentary on the source URL. I'm avoiding using the git tags from
# pumpa.branchable.com because it would imply much more work (cloning the repo
# specifying the tag, etc.). The source URL points to the personal server of the
# main developer of Pumpa, "Sazius".
2013-08-09 04:07:46 +08:00
build() {
2016-02-07 08:59:47 +08:00
cd $pkgname-$pkgver
qmake-qt5 PREFIX=/usr
2013-08-09 04:07:46 +08:00
make
}
package() {
2015-06-11 06:58:19 +08:00
cd "$srcdir/$pkgname-$pkgver"
2016-02-07 08:59:47 +08:00
make INSTALL_ROOT="$pkgdir/" install
2013-08-09 04:07:46 +08:00
# bin
install -Dm755 $pkgname \
"$pkgdir/usr/bin/$pkgname"
# desktop file
install -Dm644 $pkgname.desktop \
"$pkgdir/usr/share/applications/$pkgname.desktop"
# icon
2015-06-11 06:58:19 +08:00
install -Dm644 icons/512x512/$pkgname.png \
2013-08-09 04:07:46 +08:00
"$pkgdir/usr/share/pixmaps/$pkgname.png"
2015-05-04 20:52:35 +08:00
# man
install -Dm644 docs/$pkgname.1 \
"$pkgdir/usr/share/man/man1/$pkgname.1.gz"
2013-08-09 04:07:46 +08:00
}