summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandy Carter2018-08-31 20:42:56 -0700
committerSandy Carter2018-08-31 20:42:56 -0700
commit54bc36c84b3ad54beb3f1020b27539edb3020334 (patch)
treed9b01f1af79eba2b90dead90eb3b643dfc072185
parent21b445443f6a0026469c2308d1d9477dec484694 (diff)
downloadaur-eastl.tar.gz
Add 3rd party licenses
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b584c476d79..b6b1d28ba6d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -4,7 +4,8 @@ pkgbase = eastl
pkgrel = 1
url = https://github.com/electronicarts/EASTL
arch = any
- license = BSD
+ license = BSD,
+ license = other
makedepends = cmake
source = https://github.com/electronicarts/EASTL/archive/3.12.01.tar.gz
sha384sums = 68defff99706f975158d2ae19c1889831eab2df39619c22193c08a98db2928d48c11a82ff9e3d8cde11de7e6529397e7
diff --git a/PKGBUILD b/PKGBUILD
index 7be2afba876..1d0d3d5fca6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgrel=1
pkgdesc="Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance."
arch=(any)
url="https://github.com/electronicarts/EASTL"
-license=("BSD")
+license=("BSD", "other")
depends=()
makedepends=("cmake")
source=("https://github.com/electronicarts/EASTL/archive/${pkgver}.tar.gz")
@@ -22,7 +22,8 @@ build() {
package() {
make DESTDIR="${pkgdir}" -C "${srcdir}/${pkgname_}-${pkgver}" install
mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm644 "${srcdir}/${pkgname_}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 "${srcdir}/${pkgname_}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm644 "${srcdir}/${pkgname_}-${pkgver}/3RDPARTYLICENSES.TXT" "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et: