community/hylafaxplus: move files from /var to /usr
Changes
1 files changed · +7 −9
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| community/hylafaxplus/APKBUILD | modified | +7 | −9 | View file |
community/hylafaxplus/APKBUILD
View filediff --git a/community/hylafaxplus/APKBUILD b/community/hylafaxplus/APKBUILD
index 5721370..a4a9553 100644
--- a/community/hylafaxplus/APKBUILD
+++ b/community/hylafaxplus/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <[email protected]>
pkgname=hylafaxplus
pkgver=7.0.9
-pkgrel=1
+pkgrel=2
pkgdesc="Making the Premier Open-Source Fax Management System Even Better"
url="https://hylafax.sourceforge.net/"
arch="all"
@@ -45,7 +45,7 @@ build() {
--with-DIR_SBIN=/usr/sbin \
--with-DIR_LIB=/usr/lib \
--with-DIR_LIBEXEC=/usr/sbin \
- --with-DIR_LIBDATA=/var/spool/"$pkgname"/lib \
+ --with-DIR_LIBDATA=/usr/lib/$pkgname \
--with-DIR_LOCALE=/usr/share/locale/"$pkgname" \
--with-DIR_LOCKS=/var/lock \
--with-DIR_MAN=/usr/share/man \
@@ -70,13 +70,11 @@ package() {
# this makefile has issues installing, it doesn't use the standard
# install - but the following seems to work
mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/sbin
- mkdir -p "$pkgdir"/usr/lib/"$pkgname" "$pkgdir"/usr/share/man
+ mkdir -p "$pkgdir"/usr/lib/$pkgname "$pkgdir"/usr/share/man
mkdir -p "$pkgdir"/usr/share/locale/$pkgname
- mkdir -p "$pkgdir"/var/spool/"$pkgname"
- mkdir -p "$pkgdir"/var/spool/"$pkgname"/lib
- touch "$pkgdir"/var/spool/"$pkgname"/lib/pagesizes
- chown uucp:uucp "$pkgdir"/var/spool/"$pkgname"
- chmod 0600 "$pkgdir"/var/spool/"$pkgname"
+ touch "$pkgdir"/usr/lib/$pkgname/pagesizes
+ chown uucp:uucp "$pkgdir"/usr/lib/$pkgname
+ chmod 0600 "$pkgdir"/usr/lib/$pkgname
make \
BIN="$pkgdir/usr/bin" \
@@ -84,7 +82,7 @@ package() {
LIBDIR="$pkgdir/usr/lib" \
LIB="$pkgdir/usr/lib" \
LIBEXEC="$pkgdir/usr/sbin" \
- LIBDATA="$pkgdir/var/spool/$pkgname"/lib \
+ LIBDATA="$pkgdir/usr/lib/$pkgname" \
MAN="$pkgdir/usr/share/man" \
LOCALEDIR="$pkgdir/usr/share/locale/$pkgname" \
SPOOL="$pkgdir/var/spool/$pkgname" \