diff options
author | Adler Neves | 2020-05-19 00:01:47 -0300 |
---|---|---|
committer | Adler Neves | 2020-05-19 00:01:47 -0300 |
commit | 71f1fc9c8e65faf8f3d4338c373a868e2e6959f5 (patch) | |
tree | a9384af49b2acbafe8dfce74820cf965351c1706 | |
download | aur-cicpoffs-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 33 |
3 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9af8e031dfb0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = cicpoffs-git + pkgdesc = Case-Insensitive Case-Preserving Overlay FUSE File System + pkgver = 0.0.1.r1.efe8871 + pkgrel = 1 + url = https://github.com/adlerosn/cicpoffs + arch = any + license = GPL2 + makedepends = fuse + makedepends = attr + depends = fuse + depends = attr + provides = _pkgname + conflicts = _pkgname + source = cicpoffs::git+https://github.com/adlerosn/cicpoffs + sha512sums = SKIP + +pkgname = cicpoffs-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..07a70e876372 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +** +!/.gitignore +!/.SRCINFO +!/PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..793bfcb4c9aa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Adler Neves <adlerosn@gmail.com> + +_pkgname='cicpoffs' +provides=(_pkgname) +conflicts=(_pkgname) +pkgver=0.0.1.r1.efe8871 +pkgname="$_pkgname-git" +pkgrel=1 +pkgdesc="Case-Insensitive Case-Preserving Overlay FUSE File System" +arch=('any') +depends=('fuse' 'attr') +makedepends=('fuse' 'attr') +url="https://github.com/adlerosn/cicpoffs" +options=() +license=('GPL2') +source=('cicpoffs::git+https://github.com/adlerosn/cicpoffs') +sha512sums=('SKIP') + +pkgver() { + cd cicpoffs + git show master:cicpoffs.cpp | grep "#define VERSION" | cut -d\" -f2 | tr -d '\n' + printf ".r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + make -C "${srcdir}"/$_pkgname +} + +package() { + mkdir -p "${pkgdir}"/usr/bin + cp "${srcdir}"/$_pkgname/$_pkgname "${pkgdir}"/usr/bin + ln -s $_pkgname "${pkgdir}"/usr/bin/mount.$_pkgname +} |