mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Add tmpfiles
This commit is contained in:
parent
d1fd6e9653
commit
44612cfe8f
2 changed files with 4 additions and 2 deletions
5
dist/arch/PKGBUILD
vendored
5
dist/arch/PKGBUILD
vendored
|
@ -1,5 +1,5 @@
|
||||||
pkgname="arsse"
|
pkgname="arsse"
|
||||||
pkgver=0.9.1.r15.a97ca23
|
pkgver=0.9.1.r16.d1fd6e9
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
epoch=
|
epoch=
|
||||||
pkgdesc="RSS/Atom newsfeed synchronization server"
|
pkgdesc="RSS/Atom newsfeed synchronization server"
|
||||||
|
@ -40,13 +40,14 @@ build() {
|
||||||
package() {
|
package() {
|
||||||
depends=("php" "php-intl" "php-sqlite" "php-fpm")
|
depends=("php" "php-intl" "php-sqlite" "php-fpm")
|
||||||
cd "$pkgdir"
|
cd "$pkgdir"
|
||||||
mkdir -p "usr/share/webapps/arsse" "usr/share/doc/arsse" "usr/share/licenses/arsse" "usr/lib/systemd/system" "usr/lib/sysusers.d" "etc/php/php-fpm.d/" "etc/webapps/arsse" "etc/webapps/arsse/nginx"
|
mkdir -p "usr/share/webapps/arsse" "usr/share/doc/arsse" "usr/share/licenses/arsse" "usr/lib/systemd/system" "usr/lib/sysusers.d" "usr/lib/tmpfiles.d" "etc/php/php-fpm.d/" "etc/webapps/arsse" "etc/webapps/arsse/nginx"
|
||||||
cd "$srcdir/arsse"
|
cd "$srcdir/arsse"
|
||||||
cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "$pkgdir/usr/share/webapps/arsse"
|
cp -r lib locale sql vendor www CHANGELOG UPGRADING README.md arsse.php "$pkgdir/usr/share/webapps/arsse"
|
||||||
cp -r manual/* "$pkgdir/usr/share/doc/arsse"
|
cp -r manual/* "$pkgdir/usr/share/doc/arsse"
|
||||||
cp LICENSE AUTHORS "$pkgdir/usr/share/licenses/arsse"
|
cp LICENSE AUTHORS "$pkgdir/usr/share/licenses/arsse"
|
||||||
cp dist/arch/*.service "$pkgdir/usr/lib/systemd/system"
|
cp dist/arch/*.service "$pkgdir/usr/lib/systemd/system"
|
||||||
cp dist/arch/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
cp dist/arch/sysuser.conf "$pkgdir/usr/lib/sysusers.d/arsse.conf"
|
||||||
|
cp dist/arch/tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/arsse.conf"
|
||||||
cp dist/arch/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
cp dist/arch/php-fpm.conf "$pkgdir/etc/php/php-fpm.d/arsse.conf"
|
||||||
cp -r dist/arch/nginx config.defaults.php "$pkgdir/etc/webapps/arsse"
|
cp -r dist/arch/nginx config.defaults.php "$pkgdir/etc/webapps/arsse"
|
||||||
cd "$pkgdir"
|
cd "$pkgdir"
|
||||||
|
|
1
dist/arch/tmpfiles.conf
vendored
Normal file
1
dist/arch/tmpfiles.conf
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
z /etc/webapps/arsse/config.php - root arsse - -
|
Loading…
Reference in a new issue