valum-framework / valum

Web micro-framework written in Vala
https://valum-framework.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
227 stars 23 forks source link

AUR build error #213

Open benwaffle opened 7 years ago

benwaffle commented 7 years ago

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 commented 7 years ago

@arrufat