Still trying to make it work.

This commit is contained in:
Alexander Andreev 2021-12-24 00:12:51 +04:00
parent bc77af94c8
commit 124073b688
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ clean:
rm ${TARGET} rm ${TARGET}
install: install:
install -m 755 ${TARGET} ${DESTDIR}usr/bin/${TARGET} install -Dm755 ${TARGET} ${DESTDIR}usr/bin/${TARGET}
uninstall: uninstall:
rm -f /usr/bin/${TARGET} rm -f /usr/bin/${TARGET}

View File

@ -11,11 +11,11 @@ source=('git+https://git.arav.top/Arav/kwh-calc.git')
md5sums=('SKIP') md5sums=('SKIP')
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname"
make make
} }
package() { package() {
cd "$pkgname-$pkgver" cd "$pkgname"
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install
} }