Add aufs-util
This commit is contained in:
parent
83907f392d
commit
d34fc01701
1 changed files with 34 additions and 0 deletions
34
aufs3-util/PKGBUILD
Normal file
34
aufs3-util/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: Calimero <calimerotekni@free.fr>
|
||||
|
||||
pkgname=aufs3-util
|
||||
_gitbranch=3.9
|
||||
pkgver=20130907
|
||||
pkgrel=1
|
||||
pkgdesc="Another Unionfs Implementation that supports NFS branches"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://aufs.sourceforge.net/"
|
||||
license=('GPL2')
|
||||
makedepends=('linux-custom' 'git')
|
||||
replaces=('aufs2-util')
|
||||
source=("${pkgname}::git://git.code.sf.net/p/aufs/aufs-util#branch=aufs${_gitbranch}")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
date -d @$(git log -n1 --pretty=format:%ct) '+%Y%m%d'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
sed -i 's/($|\\\\.x)/($|\\\\.x|-[0-9]*$)/' ver.c
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}"
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
#fixes for the archlinux /usr/bin move
|
||||
mv "${pkgdir}"/sbin/* "${pkgdir}"/usr/bin/
|
||||
rmdir "${pkgdir}"/sbin
|
||||
}
|
Loading…
Reference in a new issue