diff options
author | acxz | 2020-02-02 02:51:58 -0500 |
---|---|---|
committer | acxz | 2020-02-02 02:51:58 -0500 |
commit | 73f6f29d709f3c539bb2dc01eb56726fef68e2a6 (patch) | |
tree | 15b461a19ebf6ac4448889cdb7976a336ec69171 | |
download | aur-cppfs.tar.gz |
create cppfs package
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c202c1ae4abd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = cppfs + pkgdesc = Cross-platform C++ file system library supporting multiple backends + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/cginternals/cppfs + arch = x86_64 + license = MIT + makedepends = cmake + makedepends = gcc + optdepends = cppcheck + source = https://github.com/cginternals/cppfs/archive/v1.3.0.tar.gz + sha256sums = 6d1b84490d02b85473d627dcdbe491a615f3c75e25da9d7c32a7825e168242e5 + +pkgname = cppfs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0831bd6a4e20 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: acxz <akashpatel2008 at yahoo dot com> +pkgname=cppfs +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Cross-platform C++ file system library supporting multiple backends" +url="https://github.com/cginternals/cppfs" +arch=(x86_64) +license=('MIT') +makedepends=(cmake gcc) +depends=() +optdepends=(cppcheck) +source=("https://github.com/cginternals/cppfs/archive/v$pkgver.tar.gz") +sha256sums=("6d1b84490d02b85473d627dcdbe491a615f3c75e25da9d7c32a7825e168242e5") + +build() { + mkdir -p "$srcdir/${pkgname}-${pkgver}/build" + cd "$srcdir/${pkgname}-${pkgver}/build" + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + .. + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/build" + make DESDIR=${pkgdir} install +} |