Created
September 5, 2012 04:14
-
-
Save mgalgs/3630303 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
diff -x '*.xz' -x pkg -x '*~' -x src -u idutils.orig/PKGBUILD idutils/PKGBUILD | |
--- idutils.orig/PKGBUILD 2012-09-04 20:53:36.598282583 -0700 | |
+++ idutils/PKGBUILD 2012-09-04 21:09:38.943069113 -0700 | |
@@ -1,9 +1,10 @@ | |
# Maintainer: Ken Bull <[email protected]> | |
# Contributor: Todd Musall <[email protected]> | |
# Contributor: tardo <[email protected]> | |
+# Contributor: Mitchel Humpherys <[email protected]> | |
pkgname=idutils | |
-pkgver=4.5 | |
+pkgver=4.6 | |
pkgrel=1 | |
pkgdesc="A package of language independent tools that indexes program identifiers, literal numbers, \ | |
or words of human-readable text." | |
@@ -13,14 +14,18 @@ | |
depends=('bash') | |
replaces=('id-utils') | |
source=(ftp://ftp.gnu.org/gnu/idutils/idutils-$pkgver.tar.xz) | |
-md5sums=('d8ef86c82dec20ca2f97a387a1fa7c33') | |
+md5sums=('99b572536377fcddb4d38e86a3c215fd') | |
build() { | |
- cd $startdir/src/$pkgname-$pkgver | |
- ./configure --prefix=/usr | |
+ cd "$srcdir/idutils-$pkgver" | |
+ ./configure --prefix="$pkgdir/usr" | |
+ # fix gets compile error https://lists.gnu.org/archive/html/grub-devel/2012-07/msg00051.html | |
+ sed -i -e '/gets is a security/d' lib/stdio.in.h | |
make VERBOSE=1 || return 1 | |
- make DESTDIR=$startdir/pkg install | |
- # why was this necessary? | |
- #mkdir -p $startdir/pkg/usr/share/misc | |
- #mv $startdir/pkg/usr/share/id-lang.map $startdir/pkg/usr/share/misc/ | |
+} | |
+ | |
+package() { | |
+ cd "$srcdir/idutils-$pkgver" | |
+ | |
+ make PREFIX="$pkgdir/usr" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment