2020-12-21 13:35:42 +01:00
|
|
|
# Maintainer: N Fytilis <n-fit AT live.com>
|
|
|
|
pkgbase=ntfs2btrfs
|
|
|
|
pkgname=$pkgbase-git
|
2020-12-21 13:16:05 +01:00
|
|
|
pkgver=1
|
|
|
|
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)
|
|
|
|
|
|
|
|
build() {
|
2020-12-21 13:35:42 +01:00
|
|
|
cd "$pkgbase"
|
2020-12-21 13:16:05 +01:00
|
|
|
mkdir b || true
|
|
|
|
cd b
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-12-21 13:35:42 +01:00
|
|
|
cd "$pkgbase/b"
|
2020-12-21 13:16:05 +01:00
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|