Add libcxxfileno libsrk31cxx

This commit is contained in:
Théophile Bastian 2018-06-28 11:53:38 +02:00
commit 89064878df
5 changed files with 71 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
pkg
src
*.tar.xz

1
libcxxfileno/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
libcxxfileno

33
libcxxfileno/PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: Théophile Bastian <contact@tobast.fr>
pkgname=libcxxfileno-git
_pkgname="${pkgname%-git}"
pkgver=r17.bb4b85e
pkgrel=1
provides=($_pkgname)
conflicts=($_pkgname)
pkgdesc="Libcxxfileno by Stephen R. Kell"
arch=('x86_64')
url="https://github.com/stephenrkell/libcxxfileno"
license=('?')
depends=()
makedepends=('git' 'make' 'autoconf')
install=
source=("git+https://github.com/stephenrkell/libcxxfileno")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
autoreconf -i
./configure --prefix=/usr
make -j
}
package() {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir/" install
}

1
libsrk31cxx/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
libsrk31cxx

33
libsrk31cxx/PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: Théophile Bastian <contact@tobast.fr>
pkgname=libsrk31cxx-git
_pkgname="${pkgname%-git}"
pkgver=r55.85147ba
pkgrel=1
provides=($_pkgname)
conflicts=($_pkgname)
pkgdesc="libsrk31cxx-git by Stephen R. Kell"
arch=('x86_64')
url="https://github.com/stephenrkell/libsrk31cxx"
license=('?')
depends=()
makedepends=('git' 'make' 'autoconf')
install=
source=("git+https://github.com/stephenrkell/libsrk31cxx")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${_pkgname}"
autoreconf -i
./configure --prefix=/usr
make -j
}
package() {
cd "$srcdir/${_pkgname}"
make DESTDIR="$pkgdir/" install
}