aboutsummaryrefslogtreecommitdiffstats
path: root/dist/archlinux/stable/PKGBUILD
blob: 2e2d9e9c0aac582c78e84adf68d095753454b56b (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>

pkgname=scrotty
pkgver=1.0.1
pkgrel=1
pkgdesc="Screenshot program for Linux's TTY"
arch=(i686 x86_64)
url="https://github.com/maandree/scrotty"
license=('GPL3' 'custom:GFDL1.3')
depends=(linux glibc imagemagick)
makedepends=(make coreutils glibc gcc texinfo)
install=scrotty.install
source=($url/archive/$pkgver.tar.gz)
sha256sums=(a2f19969c84a9bd3751f4e04a9ada6ff6f0ef8b64028e63986ba317b55bdba1b)


build() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr
}


package() {
  cd "$srcdir/$pkgname-$pkgver"
  make PREFIX=/usr install DESTDIR="$pkgdir"
}