contrib/scrot/Pkgfile
2019-03-10 15:50:56 +11:00

28 lines
666 B
Plaintext

# Description: Commandline screen capture.
# URL: https://tracker.debian.org/pkg/scrot
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: giblib
name=scrot
version=0.8.18
release=1
source=(http://http.debian.net/debian/pool/main/s/$name/${name}_${version%.*}.orig.tar.gz
http://http.debian.net/debian/pool/main/s/$name/${name}_${version%.*}-${version##*.}.debian.tar.xz)
build() {
for patch in $(<$SRC/debian/patches/series); do
patch -p1 -d $SRC/$name-${version%.*} -i $SRC/debian/patches/$patch
done
cd $name-${version%.*}
./configure \
--prefix=/usr \
--mandir=/usr/share/man
make
make DESTDIR=$PKG install
rm -r $PKG/usr/doc
}