summaryrefslogtreecommitdiff
path: root/repo/system/libpng.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
committerdavidovski <david@davidovski.xyz>2022-05-01 21:21:05 +0000
commit606bc59d0f8f67815c6a717843835477d44db6b3 (patch)
tree687b3fe5bc844b90a3841e1ea543aa9f9934a93a /repo/system/libpng.xibuild
parent1084afc3c4d9c83e61620de60ba59a4393a33cb0 (diff)
added ungoogled chromium
Diffstat (limited to 'repo/system/libpng.xibuild')
-rw-r--r--repo/system/libpng.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/system/libpng.xibuild b/repo/system/libpng.xibuild
index bd39b4c..e40077d 100644
--- a/repo/system/libpng.xibuild
+++ b/repo/system/libpng.xibuild
@@ -6,7 +6,11 @@ DEPS=""
PKG_VER=1.6.37
SOURCE=https://downloads.sourceforge.net/libpng/libpng-$PKG_VER.tar.xz
DESC="A collection of routines used to create PNG images"
+ADDITIONAL="libpng-1.6.37-apng.patch"
+prepare () {
+ apply_patches
+}
build () {
./configure --prefix=/usr --disable-static &&
@@ -15,7 +19,7 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
- mkdir /usr/share/doc/libpng-$PKG_VER &&
- cp README libpng-manual.txt /usr/share/doc/libpng-$PKG_VER
+ mkdir -p $PKG_DEST/usr/share/doc/libpng-$PKG_VER &&
+ cp README libpng-manual.txt $PKG_DEST/usr/share/doc/libpng-$PKG_VER
}