[s3fs-c-git] dir should reflect pkgname

This commit is contained in:
yar 2014-01-03 19:45:29 -08:00
commit 1b8f8758ab
2 changed files with 51 additions and 0 deletions

20
.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = s3fs-c-git
pkgdesc = Fork of s3fs
pkgver = 57.9c6d31b
pkgrel = 1
url = https://github.com/tongwang/s3fs-c
arch = i686
arch = x86_64
license = GPL2
makedepends = git
depends = fuse
depends = glib2
depends = libxml++
depends = mime-types
provides = s3fs
conflicts = s3fs
source = git+https://github.com/tongwang/s3fs-c.git
md5sums = SKIP
pkgname = s3fs-c-git

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
gitname=s3fs-c
pkgname=${gitname}-git
pkgver=57.9c6d31b
pkgrel=1
pkgdesc="Fork of s3fs"
arch=('i686' 'x86_64')
url="https://github.com/tongwang/s3fs-c"
license=('GPL2')
depends=('fuse' 'glib2' 'libxml++' 'mime-types')
makedepends=('git')
conflicts=('s3fs')
provides=('s3fs')
source=("git+${url}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${gitname}"
local ver="$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
printf "%s" "${ver//-/.}"
}
build() {
cd "${srcdir}/${gitname}"
./configure --prefix=/usr || return 1
make || return 1
}
package() {
cd "${srcdir}/${gitname}"
make DESTDIR="${pkgdir}/" install
}