diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..67a08f02c8ac --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = libe + pkgdesc = Library containing high-performance datastructures and utilities for C++ used by hyperdex + pkgver = 0.11.0 + pkgrel = 1 + url = https://github.com/rescrv/e + arch = x86_64 + arch = i686 + license = BSD + makedepends = wget + makedepends = gcc + source = http://hyperdex.org/src/libe-0.11.0.tar.gz + md5sums = 8ddff754a8478fcd9f2face6c18c5ef6 + +pkgname = libe + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..3f1864bb0ec4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..656e0030d3a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: MobiusHorizons <codemobius@gmail.com> +pkgname=libe +pkgver=0.11.0 +pkgrel=1 +pkgdesc="Library containing high-performance datastructures and utilities for C++ used by hyperdex" +url="https://github.com/rescrv/e" +arch=('x86_64' 'i686') +license=('BSD') +depends=() +makedepends=('wget' 'gcc') +conflicts=() +replaces=() +backup=() +source=("http://hyperdex.org/src/${pkgname}-${pkgver}.tar.gz") +md5sums=('8ddff754a8478fcd9f2face6c18c5ef6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/COPYING" +} + +# vim:set ts=2 sw=2 et: |