summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Powell2018-06-09 11:18:06 -0500
committerCorey Powell2018-06-09 11:18:06 -0500
commite6eefda8d8b264f9d5068c223aee343f8b83c12e (patch)
tree4f628efb8c3e75d4c88e7ee5add0c1d52a9b7315
parent851a73d05737f055067a9b3830174d56d0ee8529 (diff)
downloadaur-e6eefda8d8b264f9d5068c223aee343f8b83c12e.tar.gz
Restored LICENSE and header files
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ab6b463028f5..84ae567c1092 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-libyaml
pkgdesc = YAML 1.1 library (mingw-w64)
pkgver = 0.1.7
- pkgrel = 2
+ pkgrel = 3
url = http://pyyaml.org/wiki/LibYAML
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 30f0b96b8fe0..53d761b17331 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Also swiped some code from 0X1A and Schala's mingw-w64-libyaml
pkgname=mingw-w64-libyaml
pkgver=0.1.7
-pkgrel=2
+pkgrel=3
pkgdesc="YAML 1.1 library (mingw-w64)"
arch=('any')
url="http://pyyaml.org/wiki/LibYAML"
@@ -32,8 +32,9 @@ package() {
make DESTDIR="${pkgdir}" install
rm -rf "$pkgdir"/usr/${_arch}/share/man
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
- find "$pkgdir" -name '*.exe' -delete
- find "$pkgdir" -name '*.dll' -delete
- find "$pkgdir" -name '*.h' -delete
+ #${_arch}-strip -g "$pkgdir"/usr/${_arch}/bin/*.dll
+ find "$pkgdir/usr/${_arch}" -name '*.exe' -delete
+ cd "${srcdir}/yaml-$pkgver"
+ install -m644 -D LICENSE "${pkgdir}/usr/${_arch}/share/licenses/${pkgname}/LICENSE"
done
}