diff --git a/Makefile b/Makefile index 708bbad..7cdb130 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ clean: rm ${TARGET} install: - install -m 755 ${TARGET} ${DESTDIR}usr/bin/${TARGET} + install -Dm755 ${TARGET} ${DESTDIR}usr/bin/${TARGET} uninstall: rm -f /usr/bin/${TARGET} \ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD index c2aca9a..b4ad97a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,11 +11,11 @@ source=('git+https://git.arav.top/Arav/kwh-calc.git') md5sums=('SKIP') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$pkgname" make } package() { - cd "$pkgname-$pkgver" + cd "$pkgname" make DESTDIR="$pkgdir/" install } \ No newline at end of file