42 lines
912 B
Bash
42 lines
912 B
Bash
# 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
|
|
|