From: Ismaƫl Bouya Date: Thu, 5 Sep 2019 14:42:09 +0000 (+0200) Subject: Split 'editline/' into commit 'b9aebd1750d435e8588fd602d746ac2374aba471' X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAUR.git;a=commitdiff_plain;h=6b86cfd9ea2c8fdac65796980cdd539ae3284700;hp=b9aebd1750d435e8588fd602d746ac2374aba471 Split 'editline/' into commit 'b9aebd1750d435e8588fd602d746ac2374aba471' git-subtree-dir: editline git-subtree-mainline: 01a331dbe4ba19603f6db4746dae3a2968979d4f git-subtree-split: b9aebd1750d435e8588fd602d746ac2374aba471 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc16386 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +/*/pkg/ +/*/src/ +/*/*.tar.?z +/*/*.zip +/*/*-git/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..9c90e17 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +https://github.com/eli-schwartz/aurpublish diff --git a/cal3d/.SRCINFO b/cal3d/.SRCINFO new file mode 100644 index 0000000..8c32203 --- /dev/null +++ b/cal3d/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:53:58 UTC 2019 +pkgbase = cal3d + pkgdesc = A skeletal-based 3D character animation library + pkgver = 0.11.0 + pkgrel = 7 + url = https://mp3butcher.github.io/Cal3D/ + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = patch + depends = gcc-libs + options = !libtool + source = https://mp3butcher.github.io/Cal3D/sources/cal3d-0.11.0.tar.gz + source = cal3d-gcc43.diff + sha512sums = 4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f + sha512sums = 8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42 + +pkgname = cal3d + diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD new file mode 100644 index 0000000..c7507da --- /dev/null +++ b/cal3d/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer : Immae + +pkgname=cal3d +pkgver=0.11.0 +pkgrel=7 +pkgdesc="A skeletal-based 3D character animation library" +arch=(i686 x86_64) +url="https://mp3butcher.github.io/Cal3D/" +options=(!libtool) +license=(GPL2) +depends=('gcc-libs') +makedepends=('patch') +source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff) +sha512sums=('4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f' + '8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42') +build() { + cd "${pkgname}-$pkgver" + patch -p0 < ../cal3d-gcc43.diff + sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp + ./configure --prefix=/usr + make +} + +package() { + cd "${pkgname}-$pkgver" + make DESTDIR=${pkgdir} install +} diff --git a/cal3d/cal3d-gcc43.diff b/cal3d/cal3d-gcc43.diff new file mode 100644 index 0000000..fc61235 --- /dev/null +++ b/cal3d/cal3d-gcc43.diff @@ -0,0 +1,53 @@ +--- src/cal3d/hardwaremodel.cpp ++++ src/cal3d/hardwaremodel.cpp +@@ -24,6 +24,7 @@ + #include "cal3d/coreskeleton.h" + #include "cal3d/skeleton.h" + ++#include + + /*****************************************************************************/ + /** Constructs the hardware model instance. +--- src/cal3d/platform.cpp ++++ src/cal3d/platform.cpp +@@ -18,6 +18,8 @@ + + #include "cal3d/platform.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the platform instance. + * +--- src/cal3d/renderer.cpp ++++ src/cal3d/renderer.cpp +@@ -29,6 +29,8 @@ + #include "cal3d/coresubmesh.h" + #include "cal3d/physique.h" + ++#include ++ + /*****************************************************************************/ + /** Constructs the renderer instance. + * +--- src/cal3d/submesh.cpp ++++ src/cal3d/submesh.cpp +@@ -16,6 +16,7 @@ + #include "cal3d/error.h" + #include "cal3d/coresubmesh.h" + ++#include + + CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh) + { +--- src/cal3d_converter.cpp ++++ src/cal3d_converter.cpp +@@ -11,6 +11,8 @@ + + #include "cal3d/cal3d.h" + ++#include ++ + #define SKELETON 0 + #define MESH 1 + #define ANIMATION 2 diff --git a/dash-static/.SRCINFO b/dash-static/.SRCINFO new file mode 100644 index 0000000..91d2f0c --- /dev/null +++ b/dash-static/.SRCINFO @@ -0,0 +1,14 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 11:27:03 UTC 2019 +pkgbase = dash-static + pkgdesc = POSIX compliant shell that aims to be as small as possible. Statically compiled + pkgver = 0.5.10.2 + pkgrel = 1 + url = http://gondor.apana.org.au/~herbert/dash/ + arch = x86_64 + license = BSD + source = http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz + sha512sums = 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640 + +pkgname = dash-static + diff --git a/dash-static/PKGBUILD b/dash-static/PKGBUILD new file mode 100644 index 0000000..9a9e1e7 --- /dev/null +++ b/dash-static/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer : Immae + +pkgname=dash-static +pkgver=0.5.10.2 +pkgrel=1 +pkgdesc="POSIX compliant shell that aims to be as small as possible. Statically compiled" +arch=('x86_64') +url="http://gondor.apana.org.au/~herbert/dash/" +license=('BSD') +source=("http://gondor.apana.org.au/~herbert/dash/files/dash-${pkgver}.tar.gz") +sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640') + + +build () { + cd "dash-$pkgver" + export CC="gcc -static" + export CFLAGS="-Os -static" + ./configure --with-libedit + make +} + +package() { + cd "dash-$pkgver" + install -Dm755 src/dash $pkgdir/usr/bin/dash-static +} diff --git a/.SRCINFO b/editline/.SRCINFO similarity index 100% rename from .SRCINFO rename to editline/.SRCINFO diff --git a/PKGBUILD b/editline/PKGBUILD similarity index 100% rename from PKGBUILD rename to editline/PKGBUILD diff --git a/eternallands-music/.SRCINFO b/eternallands-music/.SRCINFO new file mode 100644 index 0000000..a6b6c59 --- /dev/null +++ b/eternallands-music/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:57:13 UTC 2019 +pkgbase = eternallands-music + pkgdesc = Music files for Eternal Lands + pkgver = 1.5.0 + pkgrel = 1 + url = http://www.eternal-lands.com/ + arch = i686 + arch = x86_64 + license = custom:eternallands + makedepends = unzip + depends = eternallands>=1.5.0 + source = http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip + sha512sums = dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c + +pkgname = eternallands-music + diff --git a/eternallands-music/PKGBUILD b/eternallands-music/PKGBUILD new file mode 100644 index 0000000..afce34c --- /dev/null +++ b/eternallands-music/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer : Immae +# Contributor: Nayden Pendov + +pkgname=eternallands-music +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Music files for Eternal Lands" +url="http://www.eternal-lands.com/" +depends=('eternallands>=1.5.0') +makedepends=('unzip') +license=('custom:eternallands') +arch=('i686' 'x86_64') +source=('http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip') +sha512sums=('dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c') + +package() +{ + cd $srcdir + mkdir music + mv *.ogg music/ + mv *.pll music/ + + #Install music files + mkdir -p $pkgdir/usr/share/eternallands + cp -R music $pkgdir/usr/share/eternallands/ +} + diff --git a/g3data/.SRCINFO b/g3data/.SRCINFO new file mode 100644 index 0000000..5d5fae0 --- /dev/null +++ b/g3data/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:50:57 UTC 2019 +pkgbase = g3data + pkgdesc = A tool for extracting data from scanned graphs. + pkgver = 1.5.4 + pkgrel = 1 + url = https://github.com/pn2200/g3data + arch = i686 + arch = x86_64 + license = GPL2 + depends = gtk2>=2.6 + source = https://github.com/downloads/pn2200/g3data/g3data-1.5.4.tar.gz + sha512sums = b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2 + +pkgname = g3data + diff --git a/g3data/PKGBUILD b/g3data/PKGBUILD new file mode 100644 index 0000000..e4d76e6 --- /dev/null +++ b/g3data/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer : Immae +# Contributor: +# Contributor: Dominik Fuchs +# Contributor: Michele Vascellari + +pkgname=g3data +pkgver=1.5.4 +pkgrel=1 +pkgdesc="A tool for extracting data from scanned graphs." +arch=('i686' 'x86_64') +url="https://github.com/pn2200/g3data" +license=('GPL2') +depends=('gtk2>=2.6') +makedepends=() +source=(https://github.com/downloads/pn2200/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=${pkgdir}/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make install +} diff --git a/naemon-livestatus/.SRCINFO b/naemon-livestatus/.SRCINFO new file mode 100644 index 0000000..b60f11a --- /dev/null +++ b/naemon-livestatus/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = naemon-livestatus + pkgdesc = Event broker for naemon + pkgver = 1.0.10 + pkgrel = 1 + url = http://naemon.org + arch = i686 + arch = x86_64 + license = GPL2 + depends = icu + depends = naemon + backup = etc/naemon/livestatus.cfg + source = naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0 + sha512sums = SKIP + +pkgname = naemon-livestatus + diff --git a/naemon-livestatus/PKGBUILD b/naemon-livestatus/PKGBUILD new file mode 100644 index 0000000..239e80b --- /dev/null +++ b/naemon-livestatus/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Immae +# Maintainer: Jonathan Steel + +pkgname='naemon-livestatus' +pkgdesc="Event broker for naemon" +pkgver=1.0.10 +pkgrel=1 +arch=('i686' 'x86_64') +url="http://naemon.org" +license=('GPL2') +depends=('icu' 'naemon') +source=("naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0") +sha512sums=('SKIP') +backup=('etc/naemon/livestatus.cfg') + +build() { + cd "$srcdir/$pkgname-git" + + export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" + ./autogen.sh + ./configure --prefix=/usr \ + --bindir=/usr/bin \ + --datadir="/usr/share/naemon" \ + --libdir="/usr/lib/naemon" \ + --localstatedir="/var/lib/naemon" \ + --sysconfdir="/etc/naemon" \ + --mandir="/usr/share/man" + + make +} + +package() { + cd "$srcdir/$pkgname-git" + + make DESTDIR="$pkgdir" install +} diff --git a/naemon/.SRCINFO b/naemon/.SRCINFO new file mode 100644 index 0000000..cb32b77 --- /dev/null +++ b/naemon/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = naemon + pkgdesc = System and network monitoring application + pkgver = 1.0.10 + pkgrel = 1 + url = http://naemon.org + install = naemon.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = gperf + makedepends = help2man + depends = icu + depends = glib2 + optdepends = logrotate + optdepends = thruk: Web interface for Naemon + optdepends = naemon-livestatus: Event broker + optdepends = monitoring-plugins + backup = etc/logrotate.d/naemon + backup = etc/naemon/naemon.cfg + backup = etc/naemon/resource.cfg + source = naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284 + source = naemon-tmpfiles.conf + source = naemon.service + source = overflow.patch + sha512sums = SKIP + sha512sums = 756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d + sha512sums = 28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2 + sha512sums = ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da + +pkgname = naemon + diff --git a/naemon/PKGBUILD b/naemon/PKGBUILD new file mode 100644 index 0000000..63aa98c --- /dev/null +++ b/naemon/PKGBUILD @@ -0,0 +1,86 @@ +# Maintainer: Immae +# Contributor: Jonathan Steel + +pkgname=naemon +pkgver=1.0.10 +pkgrel=1 +pkgdesc="System and network monitoring application" +arch=('i686' 'x86_64') +url="http://naemon.org" +license=('GPL2') +depends=('icu' 'glib2') +optdepends=('logrotate' + 'thruk: Web interface for Naemon' + 'naemon-livestatus: Event broker' + 'monitoring-plugins') +makedepends=('gperf' 'help2man') +source=("naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284" + $pkgname-tmpfiles.conf + $pkgname.service + overflow.patch) +sha512sums=('SKIP' + '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' + '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2' + 'ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da') +backup=('etc/logrotate.d/naemon' + 'etc/naemon/naemon.cfg' + 'etc/naemon/resource.cfg') +install=$pkgname.install + +build() { + cd "$srcdir/$pkgname-git" + + patch -p1 < $srcdir/overflow.patch + ./autogen.sh + ./configure --prefix=/usr \ + --bindir=/usr/bin \ + --datadir="/usr/share/naemon" \ + --libdir="/usr/lib/naemon" \ + --localstatedir="/var/lib/naemon" \ + --sysconfdir="/etc/naemon" \ + --with-pkgconfdir="/etc/naemon" \ + --mandir="/usr/share/man" \ + --with-pluginsdir="/usr/lib/monitoring-plugins" \ + --with-tempdir="/var/cache/naemon" \ + --with-checkresultdir="/var/cache/naemon/checkresults" \ + --with-logdir="/var/log/naemon" \ + --with-initdir="/etc/init.d" \ + --with-logrotatedir="/etc/logrotate.d" \ + --with-naemon-user="naemon" \ + --with-naemon-group="naemon" \ + --with-lockfile="/run/naemon/naemon.pid" + + make +} + +check() { + cd "$srcdir/$pkgname-git" + + # One of the tests fail for some reason, upstream notified. + make check || true +} + +package() { + cd "$srcdir/$pkgname-git" + + make DESTDIR="$pkgdir" install + + install -d "$pkgdir"/etc/naemon/module-conf.d + + rm -rf "$pkgdir"/var/{cache,log} + + install -dm755 "$pkgdir"/var/lib/naemon + install -Dm644 "$srcdir"/$pkgname.service \ + "$pkgdir"/usr/lib/systemd/system/$pkgname.service + + # Move sample config files + install -dm755 "$pkgdir"/usr/share/doc/naemon + mv "$pkgdir"/etc/naemon/conf.d "$pkgdir"/usr/share/doc/naemon/ + install -d "$pkgdir"/etc/naemon/conf.d/templates + + # Remove non-Arch directories + rm -rf "$pkgdir"/etc/init.d + rm -rf "$pkgdir"/etc/apache2 + + install -Dm644 "$srcdir"/naemon-tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/naemon.conf +} diff --git a/naemon/naemon-tmpfiles.conf b/naemon/naemon-tmpfiles.conf new file mode 100644 index 0000000..a7d9d86 --- /dev/null +++ b/naemon/naemon-tmpfiles.conf @@ -0,0 +1,9 @@ +D /var/run/naemon 0770 naemon naemon - +D /var/cache/naemon 0770 naemon naemon - +D /var/cache/naemon/checkresults 0770 naemon naemon - +D /var/lib/naemon/spool 0775 naemon naemon - +D /var/lib/naemon/spool/checkresults 0775 naemon naemon - +D /var/lib/naemon/thruk 0775 naemon naemon - +D /var/lib/naemon/perl5 0775 naemon naemon - +D /var/log/naemon 0770 naemon naemon - +D /var/log/naemon/archives 0770 naemon naemon - diff --git a/naemon/naemon.install b/naemon/naemon.install new file mode 100644 index 0000000..c32c848 --- /dev/null +++ b/naemon/naemon.install @@ -0,0 +1,21 @@ +post_install() { + getent group naemon &> /dev/null || groupadd -r naemon -g 44 + getent passwd naemon &> /dev/null || useradd -r -u 44 -g naemon \ + -d /var/lib/naemon -s /usr/bin/false -c "Naemon" naemon + + chown naemon:naemon /var/lib/naemon + chown -R naemon:naemon /etc/naemon + /usr/bin/systemd-tmpfiles --create naemon.conf +} + +pre_remove() { + if [[ -f /run/naemon/naemon.pid ]]; then + systemctl stop naemon + fi + /usr/bin/systemd-tmpfiles --remove naemon.conf + + userdel naemon &> /dev/null + groupdel naemon &> /dev/null + + rm -rf /var/lib/naemon +} diff --git a/naemon/naemon.service b/naemon/naemon.service new file mode 100644 index 0000000..0c3a0da --- /dev/null +++ b/naemon/naemon.service @@ -0,0 +1,18 @@ +[Unit] +Description=Naemon Monitoring Daemon +Documentation=http://naemon.org/documentation +After=network.target + +[Service] +Type=forking +PIDFile=/run/naemon/naemon.pid +ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg +ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg +ExecReload=/bin/kill -HUP $MAINPID +User=naemon +Group=naemon +StandardOutput=journal +StandardError=inherit + +[Install] +WantedBy=multi-user.target diff --git a/naemon/overflow.patch b/naemon/overflow.patch new file mode 100644 index 0000000..a700266 --- /dev/null +++ b/naemon/overflow.patch @@ -0,0 +1,137 @@ +--- a/src/naemon/xodtemplate.c 2019-07-03 18:34:13.795379190 +0200 ++++ b/src/naemon/xodtemplate.c 2019-07-03 18:33:37.079085158 +0200 +@@ -7488,7 +7488,7 @@ + } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { + temp_host->flap_detection_options = OPT_ALL; + } else { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid flap detection option '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid flap detection option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + result = ERROR; + } + } +@@ -7510,7 +7510,7 @@ + } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { + temp_host->notification_options = OPT_ALL; + } else { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid notification option '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid notification option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + result = ERROR; + } + } +@@ -7537,7 +7537,7 @@ + } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { + temp_host->stalking_options = OPT_ALL; + } else { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid stalking option '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid stalking option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + result = ERROR; + } + } +@@ -7549,29 +7549,29 @@ + xodtemplate_obsoleted(variable, temp_host->_start_line); + } else if (!strcmp(variable, "2d_coords")) { + if ((temp_ptr = strtok(value, ", ")) == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_host->x_2d = atoi(temp_ptr); + if ((temp_ptr = strtok(NULL, ", ")) == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_host->y_2d = atoi(temp_ptr); + temp_host->have_2d_coords = TRUE; + } else if (!strcmp(variable, "3d_coords")) { + if ((temp_ptr = strtok(value, ", ")) == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_host->x_3d = strtod(temp_ptr, NULL); + if ((temp_ptr = strtok(NULL, ", ")) == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_host->y_3d = strtod(temp_ptr, NULL); + if ((temp_ptr = strtok(NULL, ", ")) == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_host->z_3d = strtod(temp_ptr, NULL); +@@ -8176,13 +8176,13 @@ + } else if (!strcmp(variable, "2d_coords")) { + temp_ptr = strtok(value, ", "); + if (temp_ptr == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_hostextinfo->x_2d = atoi(temp_ptr); + temp_ptr = strtok(NULL, ", "); + if (temp_ptr == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_hostextinfo->y_2d = atoi(temp_ptr); +@@ -8190,19 +8190,19 @@ + } else if (!strcmp(variable, "3d_coords")) { + temp_ptr = strtok(value, ", "); + if (temp_ptr == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_hostextinfo->x_3d = strtod(temp_ptr, NULL); + temp_ptr = strtok(NULL, ", "); + if (temp_ptr == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_hostextinfo->y_3d = strtod(temp_ptr, NULL); + temp_ptr = strtok(NULL, ", "); + if (temp_ptr == NULL) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); + return ERROR; + } + temp_hostextinfo->z_3d = strtod(temp_ptr, NULL); +@@ -8369,21 +8369,21 @@ + + /* make sure an object type is specified... */ + if (input[0] == '\x0') { +- nm_log(NSLOG_CONFIG_ERROR, "Error: No object type specified in file '%s' on line %d.\n", filename, current_line); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: No object type specified in file '%s' on line %d.\n", filename, (current_line ? current_line : -1)); + result = ERROR; + break; + } + + /* we're already in an object definition... */ + if (in_definition == TRUE) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Unexpected start of object definition in file '%s' on line %d. Make sure you close preceding objects before starting a new one.\n", filename, current_line); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Unexpected start of object definition in file '%s' on line %d. Make sure you close preceding objects before starting a new one.\n", filename, (current_line ? current_line : -1)); + result = ERROR; + break; + } + + /* start a new definition */ + if (xodtemplate_begin_object_definition(input, xodtemplate_current_config_file, current_line) == ERROR) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Could not add object definition in file '%s' on line %d.\n", filename, current_line); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Could not add object definition in file '%s' on line %d.\n", filename, (current_line ? current_line : -1)); + result = ERROR; + break; + } +@@ -8401,7 +8401,7 @@ + + /* close out current definition */ + if (xodtemplate_end_object_definition() == ERROR) { +- nm_log(NSLOG_CONFIG_ERROR, "Error: Could not complete object definition in file '%s' on line %d. Have you named all your objects?\n", filename, current_line); ++ nm_log(NSLOG_CONFIG_ERROR, "Error: Could not complete object definition in file '%s' on line %d. Have you named all your objects?\n", filename, (current_line ? current_line : -1)); + result = ERROR; + break; + } diff --git a/nix/.SRCINFO b/nix/.SRCINFO new file mode 100644 index 0000000..51e5041 --- /dev/null +++ b/nix/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = nix + pkgdesc = A purely functional package manager + pkgver = 2.2.2 + pkgrel = 2 + url = https://nixos.org/nix + install = nix.install + arch = i686 + arch = x86_64 + arch = armv7h + license = LGPL + makedepends = bzip2 + makedepends = openssl + depends = gc + depends = libsodium + depends = boost + depends = brotli + depends = editline + depends = dash-static + source = https://nixos.org/releases/nix/nix-2.2.2/nix-2.2.2.tar.xz + sha256sums = f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c + +pkgname = nix + diff --git a/nix/PKGBUILD b/nix/PKGBUILD new file mode 100644 index 0000000..8005698 --- /dev/null +++ b/nix/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Alastair Pharo +# Contributor: Felix Morgner +# Contributor: Vlad M. +# Contributor: Mario Rodas +# Contributor: Oozyslug +# Contributor: koral +# Contributor: Anders Bennehag + +pkgname=nix +pkgver=2.2.2 +pkgrel=2 +pkgdesc="A purely functional package manager" +arch=('i686' 'x86_64' 'armv7h') +url="https://nixos.org/nix" +license=('LGPL') +depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') +makedepends=('bzip2' 'openssl') +install=nix.install +source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") +sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') + +prepare() { + cd "$pkgname-$pkgver" +} + +build () { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr \ + --libexecdir="/usr/lib/$pkgname" \ + --sysconfdir=/etc \ + --with-sandbox-shell=/usr/bin/dash-static \ + --enable-gc + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/nix/nix.install b/nix/nix.install new file mode 100644 index 0000000..613cee6 --- /dev/null +++ b/nix/nix.install @@ -0,0 +1,97 @@ + +pre_install () { + # Check that the group and users don't already exist + if [[ -n $(cut -d: -f1 /etc/group | grep -w nixbld) ]]; then + echo "The nixbld group already exists. This install cannot proceed." + exit 1 + fi + + for i in {1..10}; do + if [[ -n $(cut -d: -f1 /etc/passwd | grep -w nixbld$i) ]]; then + echo "The nixbld$i user already exists. This install cannot proceed." + exit 1 + fi + done +} + +create_users () { + # Create a nixbld group. + groupadd -r nixbld + + # Create 10 nixbld{i} users + for i in {1..10}; do + useradd -g nixbld -G nixbld -r -N -M -d /var/empty -s /sbin/nologin nixbld$i + done +} + +delete_users() { + # Remove the users + for i in {1..10}; do + userdel nixbld$i + done + + # Remove the group + groupdel nixbld +} + +create_store() { + # Create nix folders and set permissions + mkdir -p /nix/store + chown root.nixbld /nix/store + chmod 1775 /nix/store + mkdir -p -m 1777 /nix/var/nix/gcroots/per-user + mkdir -p -m 1777 /nix/var/nix/profiles/per-user +} + +restore_store() { + # Restore folder permissions + chmod 755 /nix/store + chown root.root /nix/store +} + +init_channels() { + # Initialize default nix channel + echo "Initializing default nix channel" + source /etc/profile.d/nix.sh + nix-channel --update +} + +daemon_info() { + echo "To start the nix daemon, execute one of the following:" + echo + echo " systemctl enable nix-daemon.socket # Sets the daemon to start on next boot" + echo " systemctl enable --now nix-daemon.socket # Starts now and on next boot too" + echo + echo "Also, if this is a new install, you need to start a new login shell or otherwise" + echo + echo " source /etc/profile.d/nix.sh" + echo " source /etc/profile.d/nix-daemon.sh" + echo + echo "Once your environment is set-up, you will need to add some channels. You can see how" + echo "to do that here:" + echo " https://nixos.org/nix/manual/#sec-channels" +} + +post_install() { + create_users + create_store + init_channels + daemon_info +} + +pre_upgrade() { + systemctl stop nix-daemon.socket + systemctl stop nix-daemon +} + +post_upgrade() { + delete_users + create_users + create_store + daemon_info +} + +pre_remove() { + restore_store + delete_users +} diff --git a/nodejs-npm-cache/.SRCINFO b/nodejs-npm-cache/.SRCINFO new file mode 100644 index 0000000..f7e3c63 --- /dev/null +++ b/nodejs-npm-cache/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 11:09:18 UTC 2019 +pkgbase = nodejs-npm-cache + pkgdesc = A command line utility that caches dependencies installed via npm. + pkgver = 0.7.0 + pkgrel = 1 + url = https://github.com/swarajban/npm-cache + arch = any + license = MIT + depends = nodejs + depends = npm + noextract = npm-cache-0.7.0.tgz + options = !emptydirs + source = https://registry.npmjs.org/npm-cache/-/npm-cache-0.7.0.tgz + sha512sums = 2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5 + +pkgname = nodejs-npm-cache + diff --git a/nodejs-npm-cache/PKGBUILD b/nodejs-npm-cache/PKGBUILD new file mode 100644 index 0000000..d1da25a --- /dev/null +++ b/nodejs-npm-cache/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer : Immae + +_npmname=npm-cache +pkgname=nodejs-$_npmname +pkgver=0.7.0 +pkgrel=1 +pkgdesc="A command line utility that caches dependencies installed via npm." +arch=('any') +url="https://github.com/swarajban/npm-cache" +license=('MIT') +depends=('nodejs' 'npm') +source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz") +noextract=("$_npmname-$pkgver.tgz") +sha512sums=('2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5') +options=('!emptydirs') + +package() { + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p "$_npmdir" + cd "$_npmdir" + + npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} diff --git a/openarc/.SRCINFO b/openarc/.SRCINFO new file mode 100644 index 0000000..1dbdf75 --- /dev/null +++ b/openarc/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = openarc-git + pkgdesc = Open source ARC implementation + pkgver = v1.0.0.Beta1.r0.g355ee2a + pkgrel = 1 + url = https://github.com/trusteddomainproject/OpenARC + arch = x86_64 + license = Custom + depends = libmilter + source = openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master + sha256sums = SKIP + +pkgname = openarc-git + diff --git a/openarc/PKGBUILD b/openarc/PKGBUILD new file mode 100644 index 0000000..afe0482 --- /dev/null +++ b/openarc/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer : Immae + +pkgname=openarc-git +pkgver=v1.0.0.Beta1.r0.g355ee2a +pkgrel=1 +pkgdesc="Open source ARC implementation" +arch=('x86_64') +url="https://github.com/trusteddomainproject/OpenARC" +depends=("libmilter") +license=('Custom') +source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "$pkgname" + git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + + +build () { + cd "$pkgname" + autoreconf -fvi + ./configure --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir/etc/openarc" + mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" +} diff --git a/patacrep-git/.SRCINFO b/patacrep-git/.SRCINFO new file mode 100644 index 0000000..b4bc449 --- /dev/null +++ b/patacrep-git/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 12:42:48 UTC 2019 +pkgbase = patacrep-git + pkgdesc = Engine for LaTeX songbooks + pkgver = 5.1.2.r17.g30eb8d62 + pkgrel = 1 + url = http://www.patacrep.com + arch = any + license = GPL + makedepends = python-setuptools + depends = python + depends = python-ply + depends = python-jinja + depends = python-chardet + depends = python-unidecode + depends = texlive-fontsextra + depends = texlive-latexextra + depends = python-argparse + depends = lilypond + source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master + sha256sums = SKIP + +pkgname = patacrep-git + diff --git a/patacrep-git/PKGBUILD b/patacrep-git/PKGBUILD new file mode 100644 index 0000000..19d0553 --- /dev/null +++ b/patacrep-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Immae + +pkgname=patacrep-git +pkgver=5.1.2.r17.g30eb8d62 +pkgrel=1 +pkgdesc="Engine for LaTeX songbooks" +arch=('any') +url="http://www.patacrep.com" +license=('GPL') +depends=('python' 'python-ply' 'python-jinja' 'python-chardet' + 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' + 'python-argparse' 'lilypond') +makedepends=('python-setuptools') +source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" +} + +build() { + cd "$srcdir/$pkgname" + python setup.py build +} + +package(){ + cd "$srcdir/$pkgname" + python setup.py install --root="${pkgdir}" +} + diff --git a/patacrep/.SRCINFO b/patacrep/.SRCINFO new file mode 100644 index 0000000..fb56d24 --- /dev/null +++ b/patacrep/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 11:00:07 UTC 2019 +pkgbase = patacrep + pkgdesc = Engine for LaTeX songbooks + pkgver = 5.1.2 + pkgrel = 1 + url = http://www.patacrep.com + arch = any + license = GPL + makedepends = python-setuptools + depends = python + depends = python-ply + depends = python-jinja + depends = python-chardet + depends = python-unidecode + depends = texlive-fontsextra + depends = texlive-latexextra + depends = python-argparse + depends = lilypond + source = https://github.com/patacrep/patacrep/archive/v5.1.2.tar.gz + sha512sums = 1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9 + +pkgname = patacrep + diff --git a/patacrep/PKGBUILD b/patacrep/PKGBUILD new file mode 100644 index 0000000..9d56c96 --- /dev/null +++ b/patacrep/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Immae + +pkgname=patacrep +pkgver=5.1.2 +pkgrel=1 +pkgdesc="Engine for LaTeX songbooks" +arch=('any') +url="http://www.patacrep.com" +license=('GPL') +depends=('python' 'python-ply' 'python-jinja' 'python-chardet' + 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' + 'python-argparse' 'lilypond') +makedepends=('python-setuptools') +source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9') + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + python setup.py build +} + +package(){ + cd "$srcdir/${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" +} + diff --git a/tack/.SRCINFO b/tack/.SRCINFO new file mode 100644 index 0000000..9aa6daa --- /dev/null +++ b/tack/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:42:54 UTC 2019 +pkgbase = tack + pkgdesc = A program that can be used to verify or refine a terminfo (terminal information) description of a terminal. + pkgver = 1.08 + pkgrel = 1 + url = http://invisible-island.net/ncurses/tack.html + changelog = tack.changelog + arch = i686 + arch = x86_64 + license = custom + depends = ncurses + provides = tack + source = https://invisible-mirror.net/archives/ncurses/tack-1.08.tgz + sha512sums = 66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7 + +pkgname = tack + diff --git a/tack/PKGBUILD b/tack/PKGBUILD new file mode 100644 index 0000000..801e734 --- /dev/null +++ b/tack/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Immae +# Maintainer: Immae + +pkgname=tack +pkgver=1.08 +pkgrel=1 +pkgdesc="A program that can be used to verify or refine a terminfo (terminal information) description of a terminal." +arch=('i686' 'x86_64') +url="http://invisible-island.net/ncurses/tack.html" +license=('custom') +changelog="$pkgname.changelog" +provides=('tack') +depends=('ncurses') +source=("https://invisible-mirror.net/archives/ncurses/${pkgname}-${pkgver}.tgz") +sha512sums=('66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr --bindir=/usr/bin + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + + + diff --git a/tack/tack.changelog b/tack/tack.changelog new file mode 100644 index 0000000..2b85f85 --- /dev/null +++ b/tack/tack.changelog @@ -0,0 +1,2 @@ +2013-10-20 initial PKGBUILD + diff --git a/waon/.SRCINFO b/waon/.SRCINFO new file mode 100644 index 0000000..924f00a --- /dev/null +++ b/waon/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Thu Feb 14 10:44:17 UTC 2019 +pkgbase = waon + pkgdesc = Wave-to-Notes transcriber (WAVE-MIDI converter) + pkgver = 0.10 + pkgrel = 1 + url = http://waon.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL2 + depends = fftw + depends = libsamplerate + depends = libao + depends = gtk2 + source = http://downloads.sourceforge.net/waon/waon-0.10.tar.gz + sha512sums = 1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46 + +pkgname = waon + diff --git a/waon/PKGBUILD b/waon/PKGBUILD new file mode 100644 index 0000000..b1b6947 --- /dev/null +++ b/waon/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer : Immae +# Contributor : Ray Rashif + +pkgname=waon +pkgver=0.10 +pkgrel=1 +pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)" +arch=('i686' 'x86_64') +url="http://waon.sourceforge.net/" +license=('GPL2') +depends=('fftw' 'libsamplerate' 'libao' 'gtk2') +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +sha512sums=('1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + sed -i 's:usr/local:usr:g' Makefile + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 pv $pkgdir/usr/bin/waon-pv + install -m755 waon gwaon $pkgdir/usr/bin/ + install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1 + install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/ +}