libpaper: use make_dirs instead of .empty
This commit is contained in:
parent
e4da7222ad
commit
e886db6e94
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libpaper'
|
||||
pkgname=libpaper
|
||||
version=1.1.24+nmu5
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool"
|
||||
conf_files="/etc/papersize"
|
||||
|
@ -11,6 +11,7 @@ license="GPL-2"
|
|||
homepage="http://packages.debian.org/unstable/source/libpaper"
|
||||
distfiles="${DEBIAN_SITE}/main/libp/${pkgname}/${pkgname}_${version}.tar.gz"
|
||||
checksum=e29deda4cd7350189c71af0925cbf4a4473f9841d1419a922e1e8ff1954db1f2
|
||||
make_dirs="/etc/libpaper.d 0755 root root"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
@ -21,10 +22,6 @@ post_install() {
|
|||
vmkdir etc
|
||||
echo '# Simply write the paper name. See papersize(5) for possible values' > ${DESTDIR}/etc/papersize
|
||||
|
||||
# add libpaper.d directory other packages can use to store files
|
||||
vmkdir etc/libpaper.d
|
||||
touch ${DESTDIR}/etc/libpaper.d/.empty
|
||||
|
||||
# add localisation
|
||||
cd debian/po
|
||||
for i in $(ls *.po); do
|
||||
|
|
Loading…
Reference in a new issue