From d46ca3b4bc9f38ebf6f4225dff146bba6afffa8d Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 14 Jun 2019 17:49:44 +0200 Subject: [PATCH] UPdated pkg dir name --- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 6910f62..e0a49eb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -32,7 +32,7 @@ sha256sums=('aeb74e10aa11ed364e1bcc635a81a523119093e63befd2f231f8b0705b15bf35' '59d5719a68e2f0e25c44b6ad9fab0d62ee8a6c5bcbcffb38176e9950cda16b15') prepare() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/st-$pkgver # skip terminfo which conflicts with nsurses sed -i '/\ttic -sx st.info/d' Makefile @@ -45,12 +45,12 @@ prepare() { } build() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/st-$pkgver make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 } package() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/st-$pkgver make PREFIX=/usr DESTDIR="$pkgdir" TERMINFO="$pkgdir/usr/share/terminfo" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"