mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
UPdated pkg dir name
This commit is contained in:
parent
ed4b09a125
commit
d46ca3b4bc
6
PKGBUILD
6
PKGBUILD
@ -32,7 +32,7 @@ sha256sums=('aeb74e10aa11ed364e1bcc635a81a523119093e63befd2f231f8b0705b15bf35'
|
|||||||
'59d5719a68e2f0e25c44b6ad9fab0d62ee8a6c5bcbcffb38176e9950cda16b15')
|
'59d5719a68e2f0e25c44b6ad9fab0d62ee8a6c5bcbcffb38176e9950cda16b15')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd $srcdir/st-$pkgver
|
||||||
# skip terminfo which conflicts with nsurses
|
# skip terminfo which conflicts with nsurses
|
||||||
sed -i '/\ttic -sx st.info/d' Makefile
|
sed -i '/\ttic -sx st.info/d' Makefile
|
||||||
|
|
||||||
@ -45,12 +45,12 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd $srcdir/st-$pkgver
|
||||||
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
|
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd $srcdir/st-$pkgver
|
||||||
make PREFIX=/usr DESTDIR="$pkgdir" TERMINFO="$pkgdir/usr/share/terminfo" install
|
make PREFIX=/usr DESTDIR="$pkgdir" TERMINFO="$pkgdir/usr/share/terminfo" install
|
||||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
|
install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
|
||||||
|
Loading…
Reference in New Issue
Block a user