Created
September 12, 2017 14:02
-
-
Save anonymous/de544882d58f07ac7396f2bf6b9c5621 to your computer and use it in GitHub Desktop.
Improvements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- PKGBUILD.orig 2017-09-12 15:13:17.049449970 +0200 | |
+++ PKGBUILD 2017-09-12 15:42:27.469967128 +0200 | |
@@ -2,23 +2,13 @@ | |
pkgname=bashnapi | |
pkgver=2.0.0 | |
pkgrel=1 | |
-pkgdesc="bashnapi is a napiprojekt.pl bash client bundled with subotage - a universal subtitles format converter" | |
+pkgdesc="napiprojekt.pl bash client bundled with subotage - a universal subtitles format converter" | |
arch=('any') | |
url="https://github.com/dagon666/napi" | |
license=('GPL') | |
-groups=() | |
-depends=('bash' 'coreutils' 'sed' 'gawk' 'file' 'cmake' 'grep' 'findutils' 'wget') | |
-makedepends=() | |
-optdepends=() | |
-provides=() | |
-conflicts=() | |
-replaces=() | |
-backup=() | |
-options=() | |
-install= | |
-changelog= | |
+depends=('bash' 'coreutils' 'sed' 'gawk' 'file' 'grep' 'findutils' 'wget') | |
+makedepends=('cmake') | |
source=("https://github.com/dagon666/napi/archive/v${pkgver}.tar.gz") | |
-noextract=() | |
md5sums=('c86efaa856f7e80e993456aff9ced322') | |
build() { | |
@@ -26,12 +16,12 @@ build() { | |
srcdir="napi-${pkgver}" | |
mkdir -p "$builddir" | |
cd "$builddir" | |
- cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" ../${srcdir} | |
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr" ../${srcdir} | |
make | |
} | |
package() { | |
builddir="${pkgname}-${pkgver}-build" | |
cd "$builddir" | |
- make install | |
+ make DESTDIR="${pkgdir}" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment