Trying to make PKGBUILD work.
This commit is contained in:
parent
f225af0bb1
commit
39441e0b31
4
Makefile
4
Makefile
@ -20,7 +20,7 @@ clean:
|
|||||||
rm ${TARGET}
|
rm ${TARGET}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -m 755 ${TARGET} /usr/local/bin/${TARGET}
|
install -m 755 ${TARGET} ${DESTDIR}/usr/bin/${TARGET}
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f /usr/local/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"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user