diff options
41 files changed, 992 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e405ac2 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | /*/pkg/ | ||
2 | /*/src/ | ||
3 | /*/*.tar.?z | ||
4 | /*/*.zip | ||
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 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:53:58 UTC 2019 | ||
3 | pkgbase = cal3d | ||
4 | pkgdesc = A skeletal-based 3D character animation library | ||
5 | pkgver = 0.11.0 | ||
6 | pkgrel = 7 | ||
7 | url = https://mp3butcher.github.io/Cal3D/ | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = GPL2 | ||
11 | makedepends = patch | ||
12 | depends = gcc-libs | ||
13 | options = !libtool | ||
14 | source = https://mp3butcher.github.io/Cal3D/sources/cal3d-0.11.0.tar.gz | ||
15 | source = cal3d-gcc43.diff | ||
16 | sha512sums = 4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f | ||
17 | sha512sums = 8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42 | ||
18 | |||
19 | pkgname = cal3d | ||
20 | |||
diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD new file mode 100644 index 0000000..c7507da --- /dev/null +++ b/cal3d/PKGBUILD | |||
@@ -0,0 +1,27 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=cal3d | ||
4 | pkgver=0.11.0 | ||
5 | pkgrel=7 | ||
6 | pkgdesc="A skeletal-based 3D character animation library" | ||
7 | arch=(i686 x86_64) | ||
8 | url="https://mp3butcher.github.io/Cal3D/" | ||
9 | options=(!libtool) | ||
10 | license=(GPL2) | ||
11 | depends=('gcc-libs') | ||
12 | makedepends=('patch') | ||
13 | source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff) | ||
14 | sha512sums=('4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f' | ||
15 | '8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42') | ||
16 | build() { | ||
17 | cd "${pkgname}-$pkgver" | ||
18 | patch -p0 < ../cal3d-gcc43.diff | ||
19 | sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp | ||
20 | ./configure --prefix=/usr | ||
21 | make | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | cd "${pkgname}-$pkgver" | ||
26 | make DESTDIR=${pkgdir} install | ||
27 | } | ||
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 @@ | |||
1 | --- src/cal3d/hardwaremodel.cpp | ||
2 | +++ src/cal3d/hardwaremodel.cpp | ||
3 | @@ -24,6 +24,7 @@ | ||
4 | #include "cal3d/coreskeleton.h" | ||
5 | #include "cal3d/skeleton.h" | ||
6 | |||
7 | +#include <string.h> | ||
8 | |||
9 | /*****************************************************************************/ | ||
10 | /** Constructs the hardware model instance. | ||
11 | --- src/cal3d/platform.cpp | ||
12 | +++ src/cal3d/platform.cpp | ||
13 | @@ -18,6 +18,8 @@ | ||
14 | |||
15 | #include "cal3d/platform.h" | ||
16 | |||
17 | +#include <string.h> | ||
18 | + | ||
19 | /*****************************************************************************/ | ||
20 | /** Constructs the platform instance. | ||
21 | * | ||
22 | --- src/cal3d/renderer.cpp | ||
23 | +++ src/cal3d/renderer.cpp | ||
24 | @@ -29,6 +29,8 @@ | ||
25 | #include "cal3d/coresubmesh.h" | ||
26 | #include "cal3d/physique.h" | ||
27 | |||
28 | +#include <string.h> | ||
29 | + | ||
30 | /*****************************************************************************/ | ||
31 | /** Constructs the renderer instance. | ||
32 | * | ||
33 | --- src/cal3d/submesh.cpp | ||
34 | +++ src/cal3d/submesh.cpp | ||
35 | @@ -16,6 +16,7 @@ | ||
36 | #include "cal3d/error.h" | ||
37 | #include "cal3d/coresubmesh.h" | ||
38 | |||
39 | +#include <string.h> | ||
40 | |||
41 | CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh) | ||
42 | { | ||
43 | --- src/cal3d_converter.cpp | ||
44 | +++ src/cal3d_converter.cpp | ||
45 | @@ -11,6 +11,8 @@ | ||
46 | |||
47 | #include "cal3d/cal3d.h" | ||
48 | |||
49 | +#include <strings.h> | ||
50 | + | ||
51 | #define SKELETON 0 | ||
52 | #define MESH 1 | ||
53 | #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 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:27:03 UTC 2019 | ||
3 | pkgbase = dash-static | ||
4 | pkgdesc = POSIX compliant shell that aims to be as small as possible. Statically compiled | ||
5 | pkgver = 0.5.10.2 | ||
6 | pkgrel = 1 | ||
7 | url = http://gondor.apana.org.au/~herbert/dash/ | ||
8 | arch = x86_64 | ||
9 | license = BSD | ||
10 | source = http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz | ||
11 | sha512sums = 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640 | ||
12 | |||
13 | pkgname = dash-static | ||
14 | |||
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 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=dash-static | ||
4 | pkgver=0.5.10.2 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="POSIX compliant shell that aims to be as small as possible. Statically compiled" | ||
7 | arch=('x86_64') | ||
8 | url="http://gondor.apana.org.au/~herbert/dash/" | ||
9 | license=('BSD') | ||
10 | source=("http://gondor.apana.org.au/~herbert/dash/files/dash-${pkgver}.tar.gz") | ||
11 | sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640') | ||
12 | |||
13 | |||
14 | build () { | ||
15 | cd "dash-$pkgver" | ||
16 | export CC="gcc -static" | ||
17 | export CFLAGS="-Os -static" | ||
18 | ./configure --with-libedit | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "dash-$pkgver" | ||
24 | install -Dm755 src/dash $pkgdir/usr/bin/dash-static | ||
25 | } | ||
diff --git a/dwm-git/.AURINFO b/dwm-git/.AURINFO new file mode 100644 index 0000000..7cf8c1d --- /dev/null +++ b/dwm-git/.AURINFO | |||
@@ -0,0 +1,21 @@ | |||
1 | pkgbase = dwm-git | ||
2 | pkgdesc = A dynamic window manager for X | ||
3 | pkgver = 6.0.41.g3d1090b | ||
4 | pkgrel = 1 | ||
5 | epoch = 1 | ||
6 | url = http://dwm.suckless.org | ||
7 | install = dwm.install | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = MIT | ||
11 | makedepends = git | ||
12 | depends = libx11 | ||
13 | depends = libxinerama | ||
14 | provides = dwm | ||
15 | conflicts = dwm | ||
16 | source = dwm.desktop | ||
17 | source = dwm::git+http://git.suckless.org/dwm | ||
18 | options = zipman | ||
19 | |||
20 | pkgname = dwm-git | ||
21 | |||
diff --git a/dwm-git/.SRCINFO b/dwm-git/.SRCINFO new file mode 100644 index 0000000..6f6e0b0 --- /dev/null +++ b/dwm-git/.SRCINFO | |||
@@ -0,0 +1,24 @@ | |||
1 | pkgbase = dwm-git | ||
2 | pkgdesc = A dynamic window manager for X | ||
3 | pkgver = 6.2 | ||
4 | pkgrel = 1 | ||
5 | epoch = 1 | ||
6 | url = http://dwm.suckless.org | ||
7 | install = dwm.install | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = MIT | ||
11 | makedepends = git | ||
12 | depends = libx11 | ||
13 | depends = libxinerama | ||
14 | depends = libxft | ||
15 | provides = dwm | ||
16 | conflicts = dwm | ||
17 | options = zipman | ||
18 | source = dwm.desktop | ||
19 | source = dwm::git+http://git.suckless.org/dwm | ||
20 | md5sums = 939f403a71b6e85261d09fc3412269ee | ||
21 | md5sums = SKIP | ||
22 | |||
23 | pkgname = dwm-git | ||
24 | |||
diff --git a/dwm-git/PKGBUILD b/dwm-git/PKGBUILD new file mode 100644 index 0000000..d1a0e3c --- /dev/null +++ b/dwm-git/PKGBUILD | |||
@@ -0,0 +1,46 @@ | |||
1 | pkgname=dwm-git | ||
2 | _pkgname=dwm | ||
3 | pkgver=6.2 | ||
4 | pkgrel=1 | ||
5 | pkgdesc="A dynamic window manager for X" | ||
6 | url="http://dwm.suckless.org" | ||
7 | arch=('i686' 'x86_64') | ||
8 | license=('MIT') | ||
9 | options=(zipman) | ||
10 | depends=('libx11' 'libxinerama' 'libxft') | ||
11 | makedepends=('git') | ||
12 | install=dwm.install | ||
13 | provides=('dwm') | ||
14 | conflicts=('dwm') | ||
15 | epoch=1 | ||
16 | source=(dwm.desktop | ||
17 | "$_pkgname::git+http://git.suckless.org/dwm") | ||
18 | md5sums=('939f403a71b6e85261d09fc3412269ee' | ||
19 | 'SKIP') | ||
20 | |||
21 | pkgver(){ | ||
22 | cd $_pkgname | ||
23 | git describe --tags |sed 's/-/./g' | ||
24 | } | ||
25 | |||
26 | prepare() { | ||
27 | cd $_pkgname | ||
28 | if [[ -f "$SRCDEST/$pkgname/config.h" ]]; then | ||
29 | cp -f "$SRCDEST/$pkgname/config.h" config.h | ||
30 | fi | ||
31 | } | ||
32 | |||
33 | build() { | ||
34 | cd $_pkgname | ||
35 | make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 | ||
36 | } | ||
37 | |||
38 | package() { | ||
39 | cd $_pkgname | ||
40 | make PREFIX=/usr DESTDIR="$pkgdir" install | ||
41 | install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
42 | install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README" | ||
43 | install -m644 -D ../dwm.desktop "$pkgdir/usr/share/xsessions/dwm.desktop" | ||
44 | } | ||
45 | |||
46 | # vim:set ts=2 sw=2 et: | ||
diff --git a/dwm-git/dwm.desktop b/dwm-git/dwm.desktop new file mode 100644 index 0000000..b0c3354 --- /dev/null +++ b/dwm-git/dwm.desktop | |||
@@ -0,0 +1,7 @@ | |||
1 | [Desktop Entry] | ||
2 | Encoding=UTF-8 | ||
3 | Name=Dwm | ||
4 | Comment=Dynamic window manager | ||
5 | Exec=dwm | ||
6 | Icon=dwm | ||
7 | Type=XSession | ||
diff --git a/dwm-git/dwm.install b/dwm-git/dwm.install new file mode 100644 index 0000000..9675514 --- /dev/null +++ b/dwm-git/dwm.install | |||
@@ -0,0 +1,5 @@ | |||
1 | post_install() { | ||
2 | echo "-- Edit config.h in dwm's PKGBUILD directory (generally /var/abs/community/dwm/)" | ||
3 | echo "-- and rebuild package if you want to change settings." | ||
4 | echo "-- Or, place custom config.h in \$SRCDEST/dwm-git/config.h and rebuild." | ||
5 | } | ||
diff --git a/editline/.SRCINFO b/editline/.SRCINFO new file mode 100644 index 0000000..74852e6 --- /dev/null +++ b/editline/.SRCINFO | |||
@@ -0,0 +1,14 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:29:40 UTC 2019 | ||
3 | pkgbase = editline | ||
4 | pkgdesc = A readline() replacement for UNIX without termcap (ncurses) | ||
5 | pkgver = 1.15.3 | ||
6 | pkgrel = 1 | ||
7 | url = http://troglobit.com/editline.html | ||
8 | arch = x86_64 | ||
9 | license = BSD | ||
10 | source = ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz | ||
11 | sha512sums = 7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38 | ||
12 | |||
13 | pkgname = editline | ||
14 | |||
diff --git a/editline/PKGBUILD b/editline/PKGBUILD new file mode 100644 index 0000000..4c6086a --- /dev/null +++ b/editline/PKGBUILD | |||
@@ -0,0 +1,26 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=editline | ||
4 | pkgver=1.15.3 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="A readline() replacement for UNIX without termcap (ncurses)" | ||
7 | arch=('x86_64') | ||
8 | url="http://troglobit.com/editline.html" | ||
9 | license=('BSD') | ||
10 | source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz") | ||
11 | sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38') | ||
12 | |||
13 | |||
14 | build () { | ||
15 | cd "$pkgname-$pkgver" | ||
16 | ./configure --prefix=/usr \ | ||
17 | --sysconfdir=/etc \ | ||
18 | --enable-gc | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$pkgname-$pkgver" | ||
24 | make DESTDIR="$pkgdir" install | ||
25 | mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3 | ||
26 | } | ||
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 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:57:13 UTC 2019 | ||
3 | pkgbase = eternallands-music | ||
4 | pkgdesc = Music files for Eternal Lands | ||
5 | pkgver = 1.5.0 | ||
6 | pkgrel = 1 | ||
7 | url = http://www.eternal-lands.com/ | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = custom:eternallands | ||
11 | makedepends = unzip | ||
12 | depends = eternallands>=1.5.0 | ||
13 | source = http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip | ||
14 | sha512sums = dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c | ||
15 | |||
16 | pkgname = eternallands-music | ||
17 | |||
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 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor: Nayden Pendov <darkwolf1984@gmail.com> | ||
3 | |||
4 | pkgname=eternallands-music | ||
5 | pkgver=1.5.0 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Music files for Eternal Lands" | ||
8 | url="http://www.eternal-lands.com/" | ||
9 | depends=('eternallands>=1.5.0') | ||
10 | makedepends=('unzip') | ||
11 | license=('custom:eternallands') | ||
12 | arch=('i686' 'x86_64') | ||
13 | source=('http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip') | ||
14 | sha512sums=('dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c') | ||
15 | |||
16 | package() | ||
17 | { | ||
18 | cd $srcdir | ||
19 | mkdir music | ||
20 | mv *.ogg music/ | ||
21 | mv *.pll music/ | ||
22 | |||
23 | #Install music files | ||
24 | mkdir -p $pkgdir/usr/share/eternallands | ||
25 | cp -R music $pkgdir/usr/share/eternallands/ | ||
26 | } | ||
27 | |||
diff --git a/g3data/.SRCINFO b/g3data/.SRCINFO new file mode 100644 index 0000000..5d5fae0 --- /dev/null +++ b/g3data/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:50:57 UTC 2019 | ||
3 | pkgbase = g3data | ||
4 | pkgdesc = A tool for extracting data from scanned graphs. | ||
5 | pkgver = 1.5.4 | ||
6 | pkgrel = 1 | ||
7 | url = https://github.com/pn2200/g3data | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = GPL2 | ||
11 | depends = gtk2>=2.6 | ||
12 | source = https://github.com/downloads/pn2200/g3data/g3data-1.5.4.tar.gz | ||
13 | sha512sums = b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2 | ||
14 | |||
15 | pkgname = g3data | ||
16 | |||
diff --git a/g3data/PKGBUILD b/g3data/PKGBUILD new file mode 100644 index 0000000..e4d76e6 --- /dev/null +++ b/g3data/PKGBUILD | |||
@@ -0,0 +1,27 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor: <clu> | ||
3 | # Contributor: Dominik Fuchs <dominik.fuchs@wur.nl> | ||
4 | # Contributor: Michele Vascellari | ||
5 | |||
6 | pkgname=g3data | ||
7 | pkgver=1.5.4 | ||
8 | pkgrel=1 | ||
9 | pkgdesc="A tool for extracting data from scanned graphs." | ||
10 | arch=('i686' 'x86_64') | ||
11 | url="https://github.com/pn2200/g3data" | ||
12 | license=('GPL2') | ||
13 | depends=('gtk2>=2.6') | ||
14 | makedepends=() | ||
15 | source=(https://github.com/downloads/pn2200/${pkgname}/${pkgname}-${pkgver}.tar.gz) | ||
16 | sha512sums=('b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2') | ||
17 | |||
18 | build() { | ||
19 | cd ${srcdir}/${pkgname}-${pkgver} | ||
20 | ./configure --prefix=${pkgdir}/usr | ||
21 | make | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | cd ${srcdir}/${pkgname}-${pkgver} | ||
26 | make install | ||
27 | } | ||
diff --git a/naemon-livestatus/.SRCINFO b/naemon-livestatus/.SRCINFO new file mode 100644 index 0000000..c18ae62 --- /dev/null +++ b/naemon-livestatus/.SRCINFO | |||
@@ -0,0 +1,18 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 12:34:00 UTC 2019 | ||
3 | pkgbase = naemon-livestatus | ||
4 | pkgdesc = Event broker for naemon | ||
5 | pkgver = 1.0.9 | ||
6 | pkgrel = 1 | ||
7 | url = http://naemon.org | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = GPL2 | ||
11 | depends = icu | ||
12 | depends = naemon | ||
13 | backup = etc/naemon/livestatus.cfg | ||
14 | source = http://labs.consol.de/naemon/release/v1.0.9/src/naemon-livestatus-1.0.9.tar.gz | ||
15 | sha512sums = 110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f | ||
16 | |||
17 | pkgname = naemon-livestatus | ||
18 | |||
diff --git a/naemon-livestatus/PKGBUILD b/naemon-livestatus/PKGBUILD new file mode 100644 index 0000000..9962f9a --- /dev/null +++ b/naemon-livestatus/PKGBUILD | |||
@@ -0,0 +1,35 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | # Maintainer: Jonathan Steel <jsteel at archlinux.org> | ||
3 | |||
4 | pkgname='naemon-livestatus' | ||
5 | pkgdesc="Event broker for naemon" | ||
6 | pkgver=1.0.9 | ||
7 | pkgrel=1 | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://naemon.org" | ||
10 | license=('GPL2') | ||
11 | depends=('icu' 'naemon') | ||
12 | source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz) | ||
13 | sha512sums=('110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f') | ||
14 | backup=('etc/naemon/livestatus.cfg') | ||
15 | |||
16 | build() { | ||
17 | cd "$srcdir/$pkgname-$pkgver" | ||
18 | |||
19 | export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" | ||
20 | ./configure --prefix=/usr \ | ||
21 | --bindir=/usr/bin \ | ||
22 | --datadir="/usr/share/naemon" \ | ||
23 | --libdir="/usr/lib/naemon" \ | ||
24 | --localstatedir="/var/lib/naemon" \ | ||
25 | --sysconfdir="/etc/naemon" \ | ||
26 | --mandir="/usr/share/man" | ||
27 | |||
28 | make | ||
29 | } | ||
30 | |||
31 | package() { | ||
32 | cd "$srcdir/$pkgname-$pkgver" | ||
33 | |||
34 | make DESTDIR="$pkgdir" install | ||
35 | } | ||
diff --git a/naemon/.SRCINFO b/naemon/.SRCINFO new file mode 100644 index 0000000..4611350 --- /dev/null +++ b/naemon/.SRCINFO | |||
@@ -0,0 +1,29 @@ | |||
1 | pkgbase = naemon | ||
2 | pkgdesc = System and network monitoring application | ||
3 | pkgver = 1.0.9 | ||
4 | pkgrel = 2 | ||
5 | url = http://naemon.org | ||
6 | install = naemon.install | ||
7 | arch = i686 | ||
8 | arch = x86_64 | ||
9 | license = GPL2 | ||
10 | makedepends = gperf | ||
11 | makedepends = help2man | ||
12 | depends = icu | ||
13 | depends = glib2 | ||
14 | optdepends = logrotate | ||
15 | optdepends = thruk: Web interface for Naemon | ||
16 | optdepends = naemon-livestatus: Event broker | ||
17 | optdepends = monitoring-plugins | ||
18 | backup = etc/logrotate.d/naemon | ||
19 | backup = etc/naemon/naemon.cfg | ||
20 | backup = etc/naemon/resource.cfg | ||
21 | source = http://labs.consol.de/naemon/release/v1.0.9/src/naemon-1.0.9.tar.gz | ||
22 | source = naemon-tmpfiles.conf | ||
23 | source = naemon.service | ||
24 | sha512sums = cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793 | ||
25 | sha512sums = 756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d | ||
26 | sha512sums = 28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2 | ||
27 | |||
28 | pkgname = naemon | ||
29 | |||
diff --git a/naemon/PKGBUILD b/naemon/PKGBUILD new file mode 100644 index 0000000..8bdb6bf --- /dev/null +++ b/naemon/PKGBUILD | |||
@@ -0,0 +1,82 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor: Jonathan Steel <jsteel at archlinux.org> | ||
3 | |||
4 | pkgname=naemon | ||
5 | pkgver=1.0.9 | ||
6 | pkgrel=2 | ||
7 | pkgdesc="System and network monitoring application" | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://naemon.org" | ||
10 | license=('GPL2') | ||
11 | depends=('icu' 'glib2') | ||
12 | optdepends=('logrotate' | ||
13 | 'thruk: Web interface for Naemon' | ||
14 | 'naemon-livestatus: Event broker' | ||
15 | 'monitoring-plugins') | ||
16 | makedepends=('gperf' 'help2man') | ||
17 | source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz | ||
18 | $pkgname-tmpfiles.conf | ||
19 | $pkgname.service) | ||
20 | sha512sums=('cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793' | ||
21 | '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' | ||
22 | '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2') | ||
23 | backup=('etc/logrotate.d/naemon' | ||
24 | 'etc/naemon/naemon.cfg' | ||
25 | 'etc/naemon/resource.cfg') | ||
26 | install=$pkgname.install | ||
27 | |||
28 | build() { | ||
29 | cd "$srcdir/$pkgname-$pkgver" | ||
30 | |||
31 | ./configure --prefix=/usr \ | ||
32 | --bindir=/usr/bin \ | ||
33 | --datadir="/usr/share/naemon" \ | ||
34 | --libdir="/usr/lib/naemon" \ | ||
35 | --localstatedir="/var/lib/naemon" \ | ||
36 | --sysconfdir="/etc/naemon" \ | ||
37 | --with-pkgconfdir="/etc/naemon" \ | ||
38 | --mandir="/usr/share/man" \ | ||
39 | --with-pluginsdir="/usr/lib/monitoring-plugins" \ | ||
40 | --with-tempdir="/var/cache/naemon" \ | ||
41 | --with-checkresultdir="/var/cache/naemon/checkresults" \ | ||
42 | --with-logdir="/var/log/naemon" \ | ||
43 | --with-initdir="/etc/init.d" \ | ||
44 | --with-logrotatedir="/etc/logrotate.d" \ | ||
45 | --with-naemon-user="naemon" \ | ||
46 | --with-naemon-group="naemon" \ | ||
47 | --with-lockfile="/run/naemon/naemon.pid" | ||
48 | |||
49 | make | ||
50 | } | ||
51 | |||
52 | check() { | ||
53 | cd "$srcdir/$pkgname-$pkgver" | ||
54 | |||
55 | # One of the tests fail for some reason, upstream notified. | ||
56 | make check || true | ||
57 | } | ||
58 | |||
59 | package() { | ||
60 | cd "$srcdir/$pkgname-$pkgver" | ||
61 | |||
62 | make DESTDIR="$pkgdir" install | ||
63 | |||
64 | install -d "$pkgdir"/etc/naemon/module-conf.d | ||
65 | |||
66 | rm -rf "$pkgdir"/var/{cache,log} | ||
67 | |||
68 | install -dm755 "$pkgdir"/var/lib/naemon | ||
69 | install -Dm644 "$srcdir"/$pkgname.service \ | ||
70 | "$pkgdir"/usr/lib/systemd/system/$pkgname.service | ||
71 | |||
72 | # Move sample config files | ||
73 | install -dm755 "$pkgdir"/usr/share/doc/naemon | ||
74 | mv "$pkgdir"/etc/naemon/conf.d "$pkgdir"/usr/share/doc/naemon/ | ||
75 | install -d "$pkgdir"/etc/naemon/conf.d/templates | ||
76 | |||
77 | # Remove non-Arch directories | ||
78 | rm -rf "$pkgdir"/etc/init.d | ||
79 | rm -rf "$pkgdir"/etc/apache2 | ||
80 | |||
81 | install -Dm644 "$srcdir"/naemon-tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/naemon.conf | ||
82 | } | ||
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 @@ | |||
1 | D /var/run/naemon 0770 naemon naemon - | ||
2 | D /var/cache/naemon 0770 naemon naemon - | ||
3 | D /var/cache/naemon/checkresults 0770 naemon naemon - | ||
4 | D /var/lib/naemon/spool 0775 naemon naemon - | ||
5 | D /var/lib/naemon/spool/checkresults 0775 naemon naemon - | ||
6 | D /var/lib/naemon/thruk 0775 naemon naemon - | ||
7 | D /var/lib/naemon/perl5 0775 naemon naemon - | ||
8 | D /var/log/naemon 0770 naemon naemon - | ||
9 | 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 @@ | |||
1 | post_install() { | ||
2 | getent group naemon &> /dev/null || groupadd -r naemon -g 44 | ||
3 | getent passwd naemon &> /dev/null || useradd -r -u 44 -g naemon \ | ||
4 | -d /var/lib/naemon -s /usr/bin/false -c "Naemon" naemon | ||
5 | |||
6 | chown naemon:naemon /var/lib/naemon | ||
7 | chown -R naemon:naemon /etc/naemon | ||
8 | /usr/bin/systemd-tmpfiles --create naemon.conf | ||
9 | } | ||
10 | |||
11 | pre_remove() { | ||
12 | if [[ -f /run/naemon/naemon.pid ]]; then | ||
13 | systemctl stop naemon | ||
14 | fi | ||
15 | /usr/bin/systemd-tmpfiles --remove naemon.conf | ||
16 | |||
17 | userdel naemon &> /dev/null | ||
18 | groupdel naemon &> /dev/null | ||
19 | |||
20 | rm -rf /var/lib/naemon | ||
21 | } | ||
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 @@ | |||
1 | [Unit] | ||
2 | Description=Naemon Monitoring Daemon | ||
3 | Documentation=http://naemon.org/documentation | ||
4 | After=network.target | ||
5 | |||
6 | [Service] | ||
7 | Type=forking | ||
8 | PIDFile=/run/naemon/naemon.pid | ||
9 | ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg | ||
10 | ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg | ||
11 | ExecReload=/bin/kill -HUP $MAINPID | ||
12 | User=naemon | ||
13 | Group=naemon | ||
14 | StandardOutput=journal | ||
15 | StandardError=inherit | ||
16 | |||
17 | [Install] | ||
18 | WantedBy=multi-user.target | ||
diff --git a/nix/.SRCINFO b/nix/.SRCINFO new file mode 100644 index 0000000..1e3af62 --- /dev/null +++ b/nix/.SRCINFO | |||
@@ -0,0 +1,24 @@ | |||
1 | pkgbase = nix | ||
2 | pkgdesc = A purely functional package manager | ||
3 | pkgver = 2.2.1 | ||
4 | pkgrel = 1 | ||
5 | url = https://nixos.org/nix | ||
6 | install = nix.install | ||
7 | arch = i686 | ||
8 | arch = x86_64 | ||
9 | arch = armv7h | ||
10 | license = LGPL | ||
11 | makedepends = bzip2 | ||
12 | makedepends = gc | ||
13 | makedepends = openssl | ||
14 | depends = gc | ||
15 | depends = libsodium | ||
16 | depends = boost | ||
17 | depends = brotli | ||
18 | depends = editline | ||
19 | depends = dash-static | ||
20 | source = https://nixos.org/releases/nix/nix-2.2.1/nix-2.2.1.tar.xz | ||
21 | sha256sums = 85f8d3518060803e44e51b1a9ada1a39cea904b36a632ba1844043a0b63be515 | ||
22 | |||
23 | pkgname = nix | ||
24 | |||
diff --git a/nix/PKGBUILD b/nix/PKGBUILD new file mode 100644 index 0000000..a3c9a86 --- /dev/null +++ b/nix/PKGBUILD | |||
@@ -0,0 +1,41 @@ | |||
1 | # Maintainer: Alastair Pharo <asppsa at gmail dot com> | ||
2 | # Contributor: Felix Morgner <felix.morgner@gmail.com> | ||
3 | # Contributor: Vlad M. <vlad@archlinux.net> | ||
4 | # Contributor: Mario Rodas | ||
5 | # Contributor: Oozyslug <oozyslug at gmail dot com> | ||
6 | # Contributor: koral <koral at mailoo dot org> | ||
7 | # Contributor: Anders Bennehag | ||
8 | |||
9 | pkgname=nix | ||
10 | pkgver=2.2.1 | ||
11 | pkgrel=1 | ||
12 | pkgdesc="A purely functional package manager" | ||
13 | arch=('i686' 'x86_64' 'armv7h') | ||
14 | url="https://nixos.org/nix" | ||
15 | license=('LGPL') | ||
16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') | ||
17 | makedepends=('bzip2' 'gc' 'openssl') | ||
18 | install=nix.install | ||
19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | ||
20 | sha256sums=('85f8d3518060803e44e51b1a9ada1a39cea904b36a632ba1844043a0b63be515') | ||
21 | |||
22 | |||
23 | prepare() { | ||
24 | cd "$pkgname-$pkgver" | ||
25 | } | ||
26 | |||
27 | build () { | ||
28 | cd "$pkgname-$pkgver" | ||
29 | ./configure --prefix=/usr \ | ||
30 | --libexecdir="/usr/lib/$pkgname" \ | ||
31 | --sysconfdir=/etc \ | ||
32 | --with-sandbox-shell=/usr/bin/dash-static \ | ||
33 | --enable-gc | ||
34 | make | ||
35 | } | ||
36 | |||
37 | package() { | ||
38 | cd "$pkgname-$pkgver" | ||
39 | make DESTDIR="$pkgdir" install | ||
40 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
41 | } | ||
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 @@ | |||
1 | |||
2 | pre_install () { | ||
3 | # Check that the group and users don't already exist | ||
4 | if [[ -n $(cut -d: -f1 /etc/group | grep -w nixbld) ]]; then | ||
5 | echo "The nixbld group already exists. This install cannot proceed." | ||
6 | exit 1 | ||
7 | fi | ||
8 | |||
9 | for i in {1..10}; do | ||
10 | if [[ -n $(cut -d: -f1 /etc/passwd | grep -w nixbld$i) ]]; then | ||
11 | echo "The nixbld$i user already exists. This install cannot proceed." | ||
12 | exit 1 | ||
13 | fi | ||
14 | done | ||
15 | } | ||
16 | |||
17 | create_users () { | ||
18 | # Create a nixbld group. | ||
19 | groupadd -r nixbld | ||
20 | |||
21 | # Create 10 nixbld{i} users | ||
22 | for i in {1..10}; do | ||
23 | useradd -g nixbld -G nixbld -r -N -M -d /var/empty -s /sbin/nologin nixbld$i | ||
24 | done | ||
25 | } | ||
26 | |||
27 | delete_users() { | ||
28 | # Remove the users | ||
29 | for i in {1..10}; do | ||
30 | userdel nixbld$i | ||
31 | done | ||
32 | |||
33 | # Remove the group | ||
34 | groupdel nixbld | ||
35 | } | ||
36 | |||
37 | create_store() { | ||
38 | # Create nix folders and set permissions | ||
39 | mkdir -p /nix/store | ||
40 | chown root.nixbld /nix/store | ||
41 | chmod 1775 /nix/store | ||
42 | mkdir -p -m 1777 /nix/var/nix/gcroots/per-user | ||
43 | mkdir -p -m 1777 /nix/var/nix/profiles/per-user | ||
44 | } | ||
45 | |||
46 | restore_store() { | ||
47 | # Restore folder permissions | ||
48 | chmod 755 /nix/store | ||
49 | chown root.root /nix/store | ||
50 | } | ||
51 | |||
52 | init_channels() { | ||
53 | # Initialize default nix channel | ||
54 | echo "Initializing default nix channel" | ||
55 | source /etc/profile.d/nix.sh | ||
56 | nix-channel --update | ||
57 | } | ||
58 | |||
59 | daemon_info() { | ||
60 | echo "To start the nix daemon, execute one of the following:" | ||
61 | echo | ||
62 | echo " systemctl enable nix-daemon.socket # Sets the daemon to start on next boot" | ||
63 | echo " systemctl enable --now nix-daemon.socket # Starts now and on next boot too" | ||
64 | echo | ||
65 | echo "Also, if this is a new install, you need to start a new login shell or otherwise" | ||
66 | echo | ||
67 | echo " source /etc/profile.d/nix.sh" | ||
68 | echo " source /etc/profile.d/nix-daemon.sh" | ||
69 | echo | ||
70 | echo "Once your environment is set-up, you will need to add some channels. You can see how" | ||
71 | echo "to do that here:" | ||
72 | echo " https://nixos.org/nix/manual/#sec-channels" | ||
73 | } | ||
74 | |||
75 | post_install() { | ||
76 | create_users | ||
77 | create_store | ||
78 | init_channels | ||
79 | daemon_info | ||
80 | } | ||
81 | |||
82 | pre_upgrade() { | ||
83 | systemctl stop nix-daemon.socket | ||
84 | systemctl stop nix-daemon | ||
85 | } | ||
86 | |||
87 | post_upgrade() { | ||
88 | delete_users | ||
89 | create_users | ||
90 | create_store | ||
91 | daemon_info | ||
92 | } | ||
93 | |||
94 | pre_remove() { | ||
95 | restore_store | ||
96 | delete_users | ||
97 | } | ||
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 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:09:18 UTC 2019 | ||
3 | pkgbase = nodejs-npm-cache | ||
4 | pkgdesc = A command line utility that caches dependencies installed via npm. | ||
5 | pkgver = 0.7.0 | ||
6 | pkgrel = 1 | ||
7 | url = https://github.com/swarajban/npm-cache | ||
8 | arch = any | ||
9 | license = MIT | ||
10 | depends = nodejs | ||
11 | depends = npm | ||
12 | noextract = npm-cache-0.7.0.tgz | ||
13 | options = !emptydirs | ||
14 | source = https://registry.npmjs.org/npm-cache/-/npm-cache-0.7.0.tgz | ||
15 | sha512sums = 2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5 | ||
16 | |||
17 | pkgname = nodejs-npm-cache | ||
18 | |||
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 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | _npmname=npm-cache | ||
4 | pkgname=nodejs-$_npmname | ||
5 | pkgver=0.7.0 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A command line utility that caches dependencies installed via npm." | ||
8 | arch=('any') | ||
9 | url="https://github.com/swarajban/npm-cache" | ||
10 | license=('MIT') | ||
11 | depends=('nodejs' 'npm') | ||
12 | source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz") | ||
13 | noextract=("$_npmname-$pkgver.tgz") | ||
14 | sha512sums=('2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5') | ||
15 | options=('!emptydirs') | ||
16 | |||
17 | package() { | ||
18 | local _npmdir="$pkgdir/usr/lib/node_modules/" | ||
19 | mkdir -p "$_npmdir" | ||
20 | cd "$_npmdir" | ||
21 | |||
22 | npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver | ||
23 | } | ||
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 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 12:42:48 UTC 2019 | ||
3 | pkgbase = patacrep-git | ||
4 | pkgdesc = Engine for LaTeX songbooks | ||
5 | pkgver = 5.1.2.r17.g30eb8d62 | ||
6 | pkgrel = 1 | ||
7 | url = http://www.patacrep.com | ||
8 | arch = any | ||
9 | license = GPL | ||
10 | makedepends = python-setuptools | ||
11 | depends = python | ||
12 | depends = python-ply | ||
13 | depends = python-jinja | ||
14 | depends = python-chardet | ||
15 | depends = python-unidecode | ||
16 | depends = texlive-fontsextra | ||
17 | depends = texlive-latexextra | ||
18 | depends = python-argparse | ||
19 | depends = lilypond | ||
20 | source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master | ||
21 | sha256sums = SKIP | ||
22 | |||
23 | pkgname = patacrep-git | ||
24 | |||
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 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=patacrep-git | ||
4 | pkgver=5.1.2.r17.g30eb8d62 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Engine for LaTeX songbooks" | ||
7 | arch=('any') | ||
8 | url="http://www.patacrep.com" | ||
9 | license=('GPL') | ||
10 | depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | ||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | ||
12 | 'python-argparse' 'lilypond') | ||
13 | makedepends=('python-setuptools') | ||
14 | source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/$pkgname" | ||
19 | git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" | ||
20 | } | ||
21 | |||
22 | build() { | ||
23 | cd "$srcdir/$pkgname" | ||
24 | python setup.py build | ||
25 | } | ||
26 | |||
27 | package(){ | ||
28 | cd "$srcdir/$pkgname" | ||
29 | python setup.py install --root="${pkgdir}" | ||
30 | } | ||
31 | |||
diff --git a/patacrep/.SRCINFO b/patacrep/.SRCINFO new file mode 100644 index 0000000..fb56d24 --- /dev/null +++ b/patacrep/.SRCINFO | |||
@@ -0,0 +1,24 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:00:07 UTC 2019 | ||
3 | pkgbase = patacrep | ||
4 | pkgdesc = Engine for LaTeX songbooks | ||
5 | pkgver = 5.1.2 | ||
6 | pkgrel = 1 | ||
7 | url = http://www.patacrep.com | ||
8 | arch = any | ||
9 | license = GPL | ||
10 | makedepends = python-setuptools | ||
11 | depends = python | ||
12 | depends = python-ply | ||
13 | depends = python-jinja | ||
14 | depends = python-chardet | ||
15 | depends = python-unidecode | ||
16 | depends = texlive-fontsextra | ||
17 | depends = texlive-latexextra | ||
18 | depends = python-argparse | ||
19 | depends = lilypond | ||
20 | source = https://github.com/patacrep/patacrep/archive/v5.1.2.tar.gz | ||
21 | sha512sums = 1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9 | ||
22 | |||
23 | pkgname = patacrep | ||
24 | |||
diff --git a/patacrep/PKGBUILD b/patacrep/PKGBUILD new file mode 100644 index 0000000..9d56c96 --- /dev/null +++ b/patacrep/PKGBUILD | |||
@@ -0,0 +1,26 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=patacrep | ||
4 | pkgver=5.1.2 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Engine for LaTeX songbooks" | ||
7 | arch=('any') | ||
8 | url="http://www.patacrep.com" | ||
9 | license=('GPL') | ||
10 | depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | ||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | ||
12 | 'python-argparse' 'lilypond') | ||
13 | makedepends=('python-setuptools') | ||
14 | source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz") | ||
15 | sha512sums=('1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9') | ||
16 | |||
17 | build() { | ||
18 | cd "$srcdir/${pkgname}-${pkgver}" | ||
19 | python setup.py build | ||
20 | } | ||
21 | |||
22 | package(){ | ||
23 | cd "$srcdir/${pkgname}-${pkgver}" | ||
24 | python setup.py install --root="${pkgdir}" | ||
25 | } | ||
26 | |||
diff --git a/.SRCINFO b/st-git/.SRCINFO index d2bd346..d2bd346 100644 --- a/.SRCINFO +++ b/st-git/.SRCINFO | |||
diff --git a/PKGBUILD b/st-git/PKGBUILD index 7d9b4df..7d9b4df 100644 --- a/PKGBUILD +++ b/st-git/PKGBUILD | |||
diff --git a/tack/.SRCINFO b/tack/.SRCINFO new file mode 100644 index 0000000..9aa6daa --- /dev/null +++ b/tack/.SRCINFO | |||
@@ -0,0 +1,18 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:42:54 UTC 2019 | ||
3 | pkgbase = tack | ||
4 | pkgdesc = A program that can be used to verify or refine a terminfo (terminal information) description of a terminal. | ||
5 | pkgver = 1.08 | ||
6 | pkgrel = 1 | ||
7 | url = http://invisible-island.net/ncurses/tack.html | ||
8 | changelog = tack.changelog | ||
9 | arch = i686 | ||
10 | arch = x86_64 | ||
11 | license = custom | ||
12 | depends = ncurses | ||
13 | provides = tack | ||
14 | source = https://invisible-mirror.net/archives/ncurses/tack-1.08.tgz | ||
15 | sha512sums = 66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7 | ||
16 | |||
17 | pkgname = tack | ||
18 | |||
diff --git a/tack/PKGBUILD b/tack/PKGBUILD new file mode 100644 index 0000000..801e734 --- /dev/null +++ b/tack/PKGBUILD | |||
@@ -0,0 +1,30 @@ | |||
1 | # Contributor: Immae <ismael.bouya@normalesup.org> | ||
2 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
3 | |||
4 | pkgname=tack | ||
5 | pkgver=1.08 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A program that can be used to verify or refine a terminfo (terminal information) description of a terminal." | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://invisible-island.net/ncurses/tack.html" | ||
10 | license=('custom') | ||
11 | changelog="$pkgname.changelog" | ||
12 | provides=('tack') | ||
13 | depends=('ncurses') | ||
14 | source=("https://invisible-mirror.net/archives/ncurses/${pkgname}-${pkgver}.tgz") | ||
15 | sha512sums=('66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7') | ||
16 | |||
17 | build() { | ||
18 | cd ${srcdir}/${pkgname}-${pkgver} | ||
19 | ./configure --prefix=/usr --bindir=/usr/bin | ||
20 | make | ||
21 | } | ||
22 | |||
23 | package() { | ||
24 | cd ${srcdir}/${pkgname}-${pkgver} | ||
25 | make DESTDIR=${pkgdir} install | ||
26 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
27 | } | ||
28 | |||
29 | |||
30 | |||
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 @@ | |||
1 | 2013-10-20 initial PKGBUILD | ||
2 | |||
diff --git a/waon/.SRCINFO b/waon/.SRCINFO new file mode 100644 index 0000000..924f00a --- /dev/null +++ b/waon/.SRCINFO | |||
@@ -0,0 +1,19 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:44:17 UTC 2019 | ||
3 | pkgbase = waon | ||
4 | pkgdesc = Wave-to-Notes transcriber (WAVE-MIDI converter) | ||
5 | pkgver = 0.10 | ||
6 | pkgrel = 1 | ||
7 | url = http://waon.sourceforge.net/ | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = GPL2 | ||
11 | depends = fftw | ||
12 | depends = libsamplerate | ||
13 | depends = libao | ||
14 | depends = gtk2 | ||
15 | source = http://downloads.sourceforge.net/waon/waon-0.10.tar.gz | ||
16 | sha512sums = 1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46 | ||
17 | |||
18 | pkgname = waon | ||
19 | |||
diff --git a/waon/PKGBUILD b/waon/PKGBUILD new file mode 100644 index 0000000..b1b6947 --- /dev/null +++ b/waon/PKGBUILD | |||
@@ -0,0 +1,29 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor : Ray Rashif <schiv@archlinux.org> | ||
3 | |||
4 | pkgname=waon | ||
5 | pkgver=0.10 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)" | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://waon.sourceforge.net/" | ||
10 | license=('GPL2') | ||
11 | depends=('fftw' 'libsamplerate' 'libao' 'gtk2') | ||
12 | source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") | ||
13 | sha512sums=('1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46') | ||
14 | |||
15 | build() { | ||
16 | cd "$srcdir/$pkgname-$pkgver" | ||
17 | |||
18 | sed -i 's:usr/local:usr:g' Makefile | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$srcdir/$pkgname-$pkgver" | ||
24 | |||
25 | install -Dm755 pv $pkgdir/usr/bin/waon-pv | ||
26 | install -m755 waon gwaon $pkgdir/usr/bin/ | ||
27 | install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1 | ||
28 | install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/ | ||
29 | } | ||