Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUR build error #213

Open
benwaffle opened this issue Jun 18, 2017 · 1 comment
Open

AUR build error #213

benwaffle opened this issue Jun 18, 2017 · 1 comment

Comments

@benwaffle
Copy link

This should fix it

diff --git a/PKGBUILD b/PKGBUILD
index 8b095d5..6e059f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ source=("https://github.com/valum-framework/valum/archive/v${pkgver}.tar.gz")
 md5sums=('e89b49d65d8130c7df051d91d49b9279')
 
 build() {
-  cd ${pkgname}
+  cd ${pkgname}-${pkgver}
   [ -d build ] && rm -rf build
   mkdir build && cd build
   meson --prefix=/usr ..
@@ -24,9 +24,9 @@ build() {
 }
 
 package() {
-  cd ${pkgname}/build
+  cd ${pkgname}-${pkgver}/build
   DESTDIR=${pkgdir} ninja install
-  install -Dm644 ${srcdir}/valum/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
 
 # vim:set ts=2 sw=2 et:
@benwaffle
Copy link
Author

@arrufat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant