aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scrotty/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/scrotty/PKGBUILD b/scrotty/PKGBUILD
index 53c42be..7caf203 100644
--- a/scrotty/PKGBUILD
+++ b/scrotty/PKGBUILD
@@ -1,27 +1,28 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=scrotty
-pkgver=1.0.2
+pkgver=2.0
pkgrel=1
-pkgdesc="Screenshot program for Linux's TTY"
+pkgdesc="Screenshot program for the framebuffer"
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)
+depends=(linux glibc libpng)
+makedepends=(glibc libpng make coreutils pkg-config gcc gettext 'texinfo>=4.11' auto-auto-complete)
install=scrotty.install
source=($url/archive/$pkgver.tar.gz)
-sha256sums=(b8e6e157b795807ca44ab0e6ac178d0f3071c0e8df513dc50dabb1bafb877514)
+sha256sums=(466528d6ecf0138f57c40541258389686e22771c28d40f28c00825faaeaab1a3)
build() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr
+ ./configure --prefix=/usr --with-bash --with-fish --with-zsh
+ make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make PREFIX=/usr install DESTDIR="$pkgdir"
+ make install DESTDIR="$pkgdir"
}