Skip to content

@Stebalien /PKGBUILD.diff secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
--- 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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.