summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df9390ebe7aa816e2fce89ac60649b528d28e2da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#Maintainer: naruto522ru <itachi522ru@gmail.com>
pkgname=5up
pkgver=1.7.3b3
pkgrel=1
pkgdesc='Handy screenshot making tool. Take screenshots, crop them, draw on
 them by using built-in editor and share your screenshots over the Internet by
 instant upload to img.5cm.ru image hosting server.'
arch=('x86_64')
url='https://launchpad.net/~luza-mbox'
license=('GPL')
depends=('qt4')
makedepends=('lib32-qt4' 'libx11')
conflicts=('5up-bin')
options=(!strip)
source=("https://launchpad.net/~luza-mbox/+archive/ubuntu/ppa/+files/5up_$pkgver.orig.tar.gz")
sha256sums=('08452fee102b49e8f9e3846c5a20bb7b0cdedb77806afa068768def0552a7476')
md5sums=('4f9b3e7ec5cb56782320a7e24a328d7b')

build() {
     cd "$srcdir"/5up-1.7.3/
     qmake-qt4 && make -j$(nproc)
}

package() {
  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname/"
  install -dm 755 "$pkgdir/usr/bin/"

  install -Dm 755 "$srcdir"/5up-1.7.3/docs/copyright "$pkgdir"/usr/share/licenses/$pkgname/
  install -Dm 755 "$srcdir/5up-1.7.3/5up" "$pkgdir"/usr/bin/
}