diff options
author | Sam Day | 2020-09-27 00:21:42 +0200 |
---|---|---|
committer | Sam Day | 2020-09-27 00:22:00 +0200 |
commit | d894b73735ad16d37c4fabdcdd1c4d5051c3cbd5 (patch) | |
tree | 2a2f92b6c0f9121e85595f4ea0cbb439af8fcb97 | |
parent | 7f5ffef15b2d2c7734b571aad194c9741ba5094e (diff) | |
download | aur-d894b73735ad16d37c4fabdcdd1c4d5051c3cbd5.tar.gz |
Apply patch in prepare() where it belongs.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = python-gbulb pkgdesc = Implmementation of asyncio using GLib pkgver = 0.6.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/nathan-hoad/gbulb arch = any license = Apache @@ -4,7 +4,7 @@ _modname='gbulb' pkgname='python-gbulb' pkgver=0.6.1 -pkgrel=1 +pkgrel=2 pkgdesc='Implmementation of asyncio using GLib' arch=('any') url='https://github.com/nathan-hoad/gbulb' @@ -17,9 +17,12 @@ source=("https://github.com/nathan-hoad/gbulb/archive/$pkgver.tar.gz" 0001-fixes sha256sums=('ab9dbde5d92a2b4f13c7acc9afc7235081a5c999d6807b049e2d8c2ef26c03a9' '42fe5793da6645c0ad9c1147dd4842ba6aa29c3536ffb5165a78f33a376b7e65') +prepare() { + cd "$_modname-$pkgver" + cat ../0001-fixes.patch | patch -s -F0 -E -p1 +} check() { cd "$_modname-$pkgver" - cat ../0001-fixes.patch | patch -s -F0 -E -p1 python -m pytest ./tests } |