Still trying to make it work.
This commit is contained in:
parent
bc77af94c8
commit
124073b688
2
Makefile
2
Makefile
@ -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}
|
4
PKGBUILD
4
PKGBUILD
@ -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
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user