update/add things

This commit is contained in:
moparisthebest
2024-08-09 22:29:23 -04:00
parent e5c4c33909
commit d48238b016
17 changed files with 1204 additions and 67 deletions

View File

@@ -0,0 +1,41 @@
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Simon Gomizelj <simongmzlj@gmail.com>
pkgname=repose-patched
pkgver=7.1
pkgrel=1
pkgdesc="Arch Linux repo building tool"
url="https://github.com/vodik/repose"
arch=('x86_64')
license=('GPL')
provides=('repose')
conflicts=('repose')
depends=('pacman' 'libarchive' 'gnupg')
makedepends=('ragel')
checkdepends=('python-pytest' 'python-cffi' 'python-pytest-xdist')
source=("repose-$pkgver.tar.gz::https://github.com/vodik/repose/archive/$pkgver.tar.gz" "fix.patch")
sha256sums=('c23e93aca416e08e80b4d17a98fd593e6345d7da8806bdd3c5484977ac2c800d' 'd5c31768cca4e13ae764993cf2d42358645d40f4e2ea30c6e5a4807f09de3ab4')
build() {
cd repose-$pkgver
patch -p1 < ../fix.patch
cd ..
make -C repose-$pkgver
}
check() {
cd repose-$pkgver
pytest
}
package() {
make -C repose-$pkgver DESTDIR="$pkgdir" install
}
# vim: ft=PKGBUILD et