diff options
36 files changed, 775 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc16386 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,5 @@ | |||
1 | /*/pkg/ | ||
2 | /*/src/ | ||
3 | /*/*.tar.?z | ||
4 | /*/*.zip | ||
5 | /*/*-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 @@ | |||
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/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/.SRCINFO b/naemon/.SRCINFO index 4611350..4611350 100644 --- a/.SRCINFO +++ b/naemon/.SRCINFO | |||
diff --git a/PKGBUILD b/naemon/PKGBUILD index 8bdb6bf..8bdb6bf 100644 --- a/PKGBUILD +++ b/naemon/PKGBUILD | |||
diff --git a/naemon-tmpfiles.conf b/naemon/naemon-tmpfiles.conf index a7d9d86..a7d9d86 100644 --- a/naemon-tmpfiles.conf +++ b/naemon/naemon-tmpfiles.conf | |||
diff --git a/naemon.install b/naemon/naemon.install index c32c848..c32c848 100644 --- a/naemon.install +++ b/naemon/naemon.install | |||
diff --git a/naemon.service b/naemon/naemon.service index 0c3a0da..0c3a0da 100644 --- a/naemon.service +++ b/naemon/naemon.service | |||
diff --git a/nix/.SRCINFO b/nix/.SRCINFO new file mode 100644 index 0000000..51e5041 --- /dev/null +++ b/nix/.SRCINFO | |||
@@ -0,0 +1,23 @@ | |||
1 | pkgbase = nix | ||
2 | pkgdesc = A purely functional package manager | ||
3 | pkgver = 2.2.2 | ||
4 | pkgrel = 2 | ||
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 = openssl | ||
13 | depends = gc | ||
14 | depends = libsodium | ||
15 | depends = boost | ||
16 | depends = brotli | ||
17 | depends = editline | ||
18 | depends = dash-static | ||
19 | source = https://nixos.org/releases/nix/nix-2.2.2/nix-2.2.2.tar.xz | ||
20 | sha256sums = f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c | ||
21 | |||
22 | pkgname = nix | ||
23 | |||
diff --git a/nix/PKGBUILD b/nix/PKGBUILD new file mode 100644 index 0000000..8005698 --- /dev/null +++ b/nix/PKGBUILD | |||
@@ -0,0 +1,40 @@ | |||
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.2 | ||
11 | pkgrel=2 | ||
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' 'openssl') | ||
18 | install=nix.install | ||
19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | ||
20 | sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') | ||
21 | |||
22 | prepare() { | ||
23 | cd "$pkgname-$pkgver" | ||
24 | } | ||
25 | |||
26 | build () { | ||
27 | cd "$pkgname-$pkgver" | ||
28 | ./configure --prefix=/usr \ | ||
29 | --libexecdir="/usr/lib/$pkgname" \ | ||
30 | --sysconfdir=/etc \ | ||
31 | --with-sandbox-shell=/usr/bin/dash-static \ | ||
32 | --enable-gc | ||
33 | make | ||
34 | } | ||
35 | |||
36 | package() { | ||
37 | cd "$pkgname-$pkgver" | ||
38 | make DESTDIR="$pkgdir" install | ||
39 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
40 | } | ||
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/openarc/.SRCINFO b/openarc/.SRCINFO new file mode 100644 index 0000000..1dbdf75 --- /dev/null +++ b/openarc/.SRCINFO | |||
@@ -0,0 +1,13 @@ | |||
1 | pkgbase = openarc-git | ||
2 | pkgdesc = Open source ARC implementation | ||
3 | pkgver = v1.0.0.Beta1.r0.g355ee2a | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/trusteddomainproject/OpenARC | ||
6 | arch = x86_64 | ||
7 | license = Custom | ||
8 | depends = libmilter | ||
9 | source = openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master | ||
10 | sha256sums = SKIP | ||
11 | |||
12 | pkgname = openarc-git | ||
13 | |||
diff --git a/openarc/PKGBUILD b/openarc/PKGBUILD new file mode 100644 index 0000000..afe0482 --- /dev/null +++ b/openarc/PKGBUILD | |||
@@ -0,0 +1,33 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=openarc-git | ||
4 | pkgver=v1.0.0.Beta1.r0.g355ee2a | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Open source ARC implementation" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/trusteddomainproject/OpenARC" | ||
9 | depends=("libmilter") | ||
10 | license=('Custom') | ||
11 | source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master") | ||
12 | sha256sums=('SKIP') | ||
13 | |||
14 | pkgver() { | ||
15 | cd "$pkgname" | ||
16 | git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
17 | } | ||
18 | |||
19 | |||
20 | build () { | ||
21 | cd "$pkgname" | ||
22 | autoreconf -fvi | ||
23 | ./configure --prefix=/usr \ | ||
24 | --sysconfdir=/etc | ||
25 | make | ||
26 | } | ||
27 | |||
28 | package() { | ||
29 | cd "$pkgname" | ||
30 | make DESTDIR="$pkgdir" install | ||
31 | mkdir -p "$pkgdir/etc/openarc" | ||
32 | mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" | ||
33 | } | ||
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/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 | } | ||