Skip to content

Instantly share code, notes, and snippets.

@oconnor663
Created August 12, 2013 19:28
Show Gist options
  • Save oconnor663/6214243 to your computer and use it in GitHub Desktop.
Save oconnor663/6214243 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD.buggy b/PKGBUILD
index c4ad354..b8c01ab 100644
--- a/PKGBUILD.buggy
+++ b/PKGBUILD
@@ -31,9 +31,6 @@ prepare() {
# Get the ANT_HOME environment variable
source /etc/profile.d/apache-ant.sh
- mkdir -p $pkgdir/usr/share/eclipse
- mkdir -p $pkgdir/usr/share/vim/vimfiles
-
chmod +x org.eclim/nailgun/configure bin/sphinx
}
@@ -53,6 +50,9 @@ build() {
}
package() {
+ mkdir -p $pkgdir/usr/share/eclipse
+ mkdir -p $pkgdir/usr/share/vim/vimfiles
+
cd $srcdir/${pkgname}_$pkgver
ant -Declipse.home=/usr/share/eclipse \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment