Initial commit

This commit is contained in:
TBK 2020-03-17 16:35:39 +01:00
commit 9b97c5458d
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
4 changed files with 63 additions and 0 deletions

17
.SRCINFO Normal file
View File

@ -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

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
pkg/*
src/*
*.pkg.tar.xz
*.tar.gz

25
PKGBUILD Normal file
View File

@ -0,0 +1,25 @@
# Maintainer: TBK <aur at jjtc dot eu>
# Contributor: TBK <aur at jjtc dot eu>
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
}

17
README.md Normal file
View File

@ -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```