summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD28
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b584c476d79
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = eastl
+ pkgdesc = Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.
+ pkgver = 3.12.01
+ pkgrel = 1
+ url = https://github.com/electronicarts/EASTL
+ arch = any
+ license = BSD
+ makedepends = cmake
+ source = https://github.com/electronicarts/EASTL/archive/3.12.01.tar.gz
+ sha384sums = 68defff99706f975158d2ae19c1889831eab2df39619c22193c08a98db2928d48c11a82ff9e3d8cde11de7e6529397e7
+
+pkgname = eastl
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..0cd1c4c079c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+src/
+pkg/
+*.tar.gz
+*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7be2afba876
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=eastl
+pkgname_=EASTL
+pkgver=3.12.01
+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")
+depends=()
+makedepends=("cmake")
+source=("https://github.com/electronicarts/EASTL/archive/${pkgver}.tar.gz")
+sha384sums=("68defff99706f975158d2ae19c1889831eab2df39619c22193c08a98db2928d48c11a82ff9e3d8cde11de7e6529397e7")
+
+build() {
+ cmake -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -B"${srcdir}/${pkgname_}-${pkgver}" \
+ -H"${srcdir}/${pkgname_}-${pkgver}"
+ cmake --build "${srcdir}/${pkgname_}-${pkgver}"
+}
+
+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"
+}
+
+# vim:set ts=2 sw=2 et: