Skip to content

Instantly share code, notes, and snippets.

@rosshadden
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosshadden/af21fbdbff2f959dd4f4 to your computer and use it in GitHub Desktop.
Save rosshadden/af21fbdbff2f959dd4f4 to your computer and use it in GitHub Desktop.
--- a/PKGBUILD 2015-04-14 16:39:10.426806715 -0400
+++ b/PKGBUILD 2015-04-14 16:39:21.794203724 -0400
@@ -14,6 +14,14 @@ backup=('etc/asd.conf')
install=asd.install
sha256sums=('b3b4af38a2fc854e80101e931d92207a5e6f1e1640d1c114f8924cdfd937650f')
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # modify script to exclude *.swp files
+ sed -i '/--no-whole-file/ s,file,file --exclude *.swp,' \
+ common/anything-sync-daemon.in
+}
+
build() {
cd "$pkgname-$pkgver"
make
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment