Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 13133ee4bd9167cf288597190c86c314dfcd2681 Mon Sep 17 00:00:00 2001
- Date: Sat, 16 Dec 2017 20:58:23 +0100
- Subject: [PATCH 1/1] Fixed "python: can't open file 'setup.py': [Errno 2] No
- such file or directory" error.
- ---
- PKGBUILD | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
- diff --git a/PKGBUILD b/PKGBUILD
- index be3be2e..4b4c665 100644
- --- a/PKGBUILD
- +++ b/PKGBUILD
- @@ -15,19 +15,22 @@ source=('git+https://www.jelmer.uk/code/xandikos/')
- sha512sums=('SKIP')
- pkgver() {
- - cd xandikos
- + cd ${srcdir}/xandikos
- git describe --long | sed 's/v//;s/\([^-]*-g\)/r\1/;s/-/./g'
- }
- build() {
- + cd ${srcdir}/xandikos
- python setup.py build
- }
- check() {
- + cd ${srcdir}/xandikos
- python -m unittest xandikos.tests.test_suite
- }
- package() {
- + cd ${srcdir}/xandikos
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 xandikos.1 "$pkgdir"/usr/share/man/man1/xandikos.1
- }
- --
- 2.15.1
Advertisement
Add Comment
Please, Sign In to add comment