Skip to content

Instantly share code, notes, and snippets.

Created November 1, 2013 12:09
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 anonymous/7264525 to your computer and use it in GitHub Desktop.
Save anonymous/7264525 to your computer and use it in GitHub Desktop.
stdin
diff --git a/opus/.footprint b/opus/.footprint
index 6e7e61e..4788148 100644
--- a/opus/.footprint
+++ b/opus/.footprint
@@ -14,6 +14,3 @@ lrwxrwxrwx root/root usr/lib/libopus.so.0 -> libopus.so.0.3.0
-rwxr-xr-x root/root usr/lib/libopus.so.0.3.0
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/opus.pc
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/aclocal/
--rw-r--r-- root/root usr/share/aclocal/opus.m4
diff --git a/opus/Pkgfile b/opus/Pkgfile
index fb36401..3412209 100644
--- a/opus/Pkgfile
+++ b/opus/Pkgfile
@@ -13,8 +13,11 @@ build() {
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --enable-custom-modes
+ --enable-custom-modes \
+ --disable-doc
make
- make DESTDIR=$PKG install
+ make DESTDIR=$PKG install
+
+ rm -r $PKG/usr/share
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment