28 lines
603 B
Plaintext
28 lines
603 B
Plaintext
# Description: Utility to set the default paper size
|
|
# URL: https://github.com/rrthomas/paper/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
name=paper
|
|
version=2.0.4
|
|
release=1
|
|
source=(https://github.com/rrthomas/libpaper/releases/download/v$version/lib$name-$version.tar.gz
|
|
paper.1)
|
|
|
|
build () {
|
|
cd lib$name-$version
|
|
|
|
sed '/^SUBDIRS/s/man//' -i Makefile.in
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/paper
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/usr/share/man/man1
|
|
install -m 0644 $SRC/paper.1 $PKG/usr/share/man/man1
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|