Created
September 22, 2013 07:21
-
-
Save nosada/6657563 to your computer and use it in GitHub Desktop.
patch for crfpp
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.old 2013-07-13 21:34:18.054183257 +0900 | |
+++ PKGBUILD 2013-07-13 21:29:29.661837910 +0900 | |
@@ -6,19 +6,19 @@ | |
pkgrel=1 | |
pkgdesc="A Conditional Random Field implementation" | |
url="http://crfpp.sourceforge.net" | |
-arch=(x86_64 i686) | |
-license=(LGPL BSD) | |
-source=(http://crfpp.googlecode.com/files/CRF%2B%2B-${pkgver}.tar.gz) | |
+arch=('x86_64' 'i686') | |
+license=('LGPL' 'BSD') | |
+source=("http://crfpp.googlecode.com/files/CRF++-${pkgver}.tar.gz") | |
build() { | |
- cd $startdir/src/CRF++-$pkgver | |
- ./configure --prefix=/usr | |
- make || return 1 | |
+ cd ${srcdir}/CRF++-${pkgver} | |
+ ./configure --prefix=/usr | |
+ make || return 1 | |
} | |
package() { | |
- cd $startdir/src/CRF++-$pkgver | |
- make DESTDIR=$startdir/pkg install | |
+ cd ${srcdir}/CRF++-${pkgver} | |
+ make DESTDIR=${pkgdir}/usr/bin install | |
} | |
md5sums=('c8ffd456ab1a6815ba916c1083194a99') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment