commit 9b97c5458da40521b8fb8b5e94032fa2ad31e76c Author: TBK Date: Tue Mar 17 16:35:39 2020 +0100 Initial commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..5c59db6 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = redo-c + pkgdesc = An implementation of the redo build system in portable C with zero dependencies + pkgver = 0.9.0 + pkgrel = 1 + url = https://github.com/leahneukirchen/redo-c + arch = x86_64 + license = CC0-1.0 + makedepends = gcc + conflicts = redo-c-git + conflicts = redo-jdebp + conflicts = redo-python + conflicts = redo-sh + source = redo-c-0.9.0.tar.gz::https://github.com/tbk/redo-c/archive/0.9.0.tar.gz + sha256sums = b7b68a9768db6f09745a6055f13513e7b05494b0916d0c4e00d38872b5bbd2ef + +pkgname = redo-c + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3401952 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg/* +src/* +*.pkg.tar.xz +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..e7ae599 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: TBK +# Contributor: TBK + +pkgname=redo-c +pkgver=0.9.0 +pkgrel=1 +pkgdesc='An implementation of the redo build system in portable C with zero dependencies' +url='https://github.com/leahneukirchen/redo-c' +arch=('x86_64') +license=('CC0-1.0') +conflicts=('redo-c-git' 'redo-jdebp' 'redo-python' 'redo-sh') +makedepends=('gcc') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tbk/redo-c/archive/$pkgver.tar.gz") +sha256sums=('b7b68a9768db6f09745a6055f13513e7b05494b0916d0c4e00d38872b5bbd2ef') +_builddir="$pkgname-$pkgver" + +build() { + cd "$_builddir" + gcc -g -Os -Wall -Wextra -Wwrite-strings -o redo redo.c +} + +package() { + cd "$_builddir" + DESTDIR="$pkgdir" ./redo install +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..eaf99f2 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# redo-c +Arch User Repository redo-c - An implementation of the redo build system in portable C with zero dependencies + +## Update package + +* Update package version in PKGBUILD +* Generate new checksums with + +```$ updpkgsums``` + +* Test install + +```$ makepkg -si``` + +* Update .SRCINFO + +```$ makepkg --printsrcinfo > .SRCINFO```