Commit c3077d7d
3
files
+5
added
-3
deleted
@@ -19,7 +19,9 @@ build: |
19
19
20
20
python3 setup.py install --root=${PKGDIR} --optimize=1
21
21
22
- install -Dm644 ${pkgname}.zsh ${PKGDIR}/usr/share/zsh/site-functions/_${pkgname}
22
+ if [ -f ${pkgname}.zsh ]; then
23
+ install -Dm644 ${pkgname}.zsh ${PKGDIR}/usr/share/zsh/site-functions/_${pkgname}
24
+ fi
23
25
24
26
mv ${PKGDIR}/usr/share/bash-completion/completions/${pkgname}.bash-completion \
25
27
${PKGDIR}/usr/share/bash-completion/completions/${pkgname}
@@ -20,6 +20,6 @@ source:
20
20
sha256sums:
21
21
- SKIP
22
22
build: "cd ${pkgname}-${pkgver}\n\n ./autogen.sh\n./configure --prefix=/usr \\\n --sbindir=/usr/bin \\\
23
- \n\t--disable-static\nmake\nmake DESTDIR=${PKGDIR} install\n"
23
+ \n\t--disable-static --disable-nls\nmake\nmake DESTDIR=${PKGDIR} install\n"
24
24
package: |
25
25
true
@@ -37,6 +37,6 @@ hooks:
37
37
\ $SN\nfi\nif ! (getent passwd $SN > /dev/null); then\n\tprintf \"${INFO}Creating $SN user${NORMAL}\\n\"\n\tuseradd -c\
38
38
\ \"$SN\" -d /srv/ftp -g $SN \\\n -s /usr/bin/proftpdshell -u $IDN $SN\nfi\nif [ -d srv/ftp ]; then\n\tinstall\
39
39
\ -v -d -m775 -o $SN -g $SN srv/ftp \nfi\n! grep -q proftpdshell etc/shells && echo /usr/bin/proftpdshell >> etc/shells\n"
40
-build: "SN=\"proftpd\"\nIDN=\"46\"\nif ! (getent group $SN > /dev/null); then\n groupadd -g $IDN $SN\nfi\nif ! (getent passwd $SN > /dev/null); then\n useradd -c \"$SN\" -d /srv/ftp -g $SN \\\n -s /usr/bin/proftpdshell -u $IDN $SN \nfi\ncd ./${pkgname}-${pkgver}\n\n./configure --prefix=/usr \\\n\t--sbindir=/usr/bin \\\n--sysconfdir=/etc \\\n--localstatedir=/var/run \nmake\t\n\nmake DESTDIR=${PKGDIR} install\n\ninstall -d -m755 ${PKGDIR}/usr/share/doc/proftpd-${pkgver}\ncp -Rv doc/* ${PKGDIR}/usr/share/doc/proftpd-${pkgver}\n\ninstall -d -m755 ${PKGDIR}/etc \ncp ./proftpd.conf ${PKGDIR}/etc/proftpd.conf.example\n\nln -sv /bin/false ${PKGDIR}/usr/bin/proftpdshell\n\n# Service\ncd ${SRCDIR}/pagan-scripts-20260822\nmake DESTDIR=${PKGDIR} install-sysd-proftpd\n"
40
+build: "SN=\"proftpd\"\nIDN=\"46\"\nif ! (getent group $SN > /dev/null); then\n groupadd -g $IDN $SN\nfi\nif ! (getent passwd $SN > /dev/null); then\n useradd -c \"$SN\" -d /srv/ftp -g $SN \\\n -s /usr/bin/proftpdshell -u $IDN $SN \nfi\ncd ./${pkgname}-${pkgver}\n\n./configure --prefix=/usr \\\n\t--sbindir=/usr/bin \\\n--sysconfdir=/etc \\\n--localstatedir=/var/run \nmake\t\n\nmake DESTDIR=${PKGDIR} install\n\ninstall -d -m755 ${PKGDIR}/usr/share/doc/proftpd-${pkgver}\ncp -Rv doc/* ${PKGDIR}/usr/share/doc/proftpd-${pkgver}\n\ninstall -d -m755 ${PKGDIR}/etc \ncp ../proftpd.conf ${PKGDIR}/etc/proftpd.conf.example\n\nln -sv /bin/false ${PKGDIR}/usr/bin/proftpdshell\n\n# Service\ncd ${SRCDIR}/pagan-scripts-20260822\nmake DESTDIR=${PKGDIR} install-sysd-proftpd\n"
41
41
package: |
42
42
true