Add 'ntfs2btrfs-git/' from commit 'e787c7fc8bcccedf76ffed15d468620e72b397eb'
git-subtree-dir: ntfs2btrfs-git git-subtree-mainline:0df4b7ff3a
git-subtree-split:e787c7fc8b
This commit is contained in:
commit
d97a8b2abd
3 changed files with 51 additions and 0 deletions
13
ntfs2btrfs-git/.SRCINFO
Normal file
13
ntfs2btrfs-git/.SRCINFO
Normal file
|
@ -0,0 +1,13 @@
|
|||
pkgbase = ntfs2btrfs-git
|
||||
pkgdesc = Convertion from ntfs to btrfs keeping NT metadata
|
||||
pkgver = r220.7664363
|
||||
pkgrel = 1
|
||||
arch = any
|
||||
license = GPL
|
||||
makedepends = cmake
|
||||
makedepends = gcc
|
||||
depends = fmt
|
||||
source = git+https://github.com/maharmstone/ntfs2btrfs
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = ntfs2btrfs-git
|
4
ntfs2btrfs-git/.gitignore
vendored
Normal file
4
ntfs2btrfs-git/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
ntfs2btrfs/
|
||||
pkg/
|
||||
src/
|
||||
*pkg.tar*
|
34
ntfs2btrfs-git/PKGBUILD
Normal file
34
ntfs2btrfs-git/PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: N Fytilis <n-fit AT live.com>
|
||||
_pkgbase=ntfs2btrfs
|
||||
pkgname=$_pkgbase-git
|
||||
pkgbase=$_pkgbase-git
|
||||
pkgver=r220.7664363
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="Convertion from ntfs to btrfs keeping NT metadata"
|
||||
arch=(any)
|
||||
url=""
|
||||
license=('GPL')
|
||||
depends=(fmt)
|
||||
makedepends=(cmake gcc)
|
||||
source=("git+https://github.com/maharmstone/ntfs2btrfs")
|
||||
md5sums=(SKIP)
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgbase"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_pkgbase"
|
||||
mkdir b || true
|
||||
cd b
|
||||
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgbase/b"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
mv $pkgdir/usr/sbin $pkgdir/usr/bin
|
||||
}
|
Loading…
Reference in a new issue