# 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.1.0
release=1
source=(https://github.com/rrthomas/libpaper/releases/download/v$version/lib$name-$version.tar.gz)

build () {
	cd lib$name-$version

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/paper
	make
	make DESTDIR=$PKG install

	rm -r $PKG/usr/share/doc
}
