secret
Created

  • Download Gist
PKGBUILD.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
--- PKGBUILD 2013-04-20 18:58:26.000000000 -0400
+++ PKGBUILD.new 2013-06-28 23:55:50.592923658 -0400
@@ -19,15 +19,13 @@
package() {
cd "$srcdir"/$pkgname
- python setup.py install --root "$pkgdir"
+ python setup.py install --root "$pkgdir" --optimize=1
# Install README file
- install -Dm644 README "$pkgdir"/usr/share/python-netifaces/README
+ install -Dm644 README "$pkgdir"/usr/share/doc/${pkgname}/README
# Install LICENSE file
- install -Dm644 README "$pkgdir"/usr/share/licenses/python-netifaces/LICENSE
-
- find "$pkgdir" -type d -name '.git' -exec rm -r '{}' +
+ install -Dm644 README "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
}
# vim:set ts=2 sw=2 et:

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.