From 124073b688313b79ebae5aec8c17e988cca6aba9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 24 Dec 2021 00:12:51 +0400 Subject: [PATCH] Still trying to make it work. --- Makefile | 2 +- PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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