This commit is contained in:
Νικόλαος Κυριάκος Φυτίλης 2020-12-21 14:16:05 +02:00
commit c729c1a8e1
3 changed files with 46 additions and 0 deletions

14
.SRCINFO Normal file
View file

@ -0,0 +1,14 @@
pkgbase = ntfs2btrfs
pkgdesc = Convertion from ntfs to btrfs keeping NT metadata
pkgver = 1
pkgrel = 1
arch = any
license = GPL
makedepends = cmake
makedepends = gcc
depends = fmt
source = git+https://github.com/maharmstone/ntfs2btrfs
md5sums = SKIP
pkgname = ntfs2btrfs

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
ntfs2btrfs pkg src

31
PKGBUILD Normal file
View file

@ -0,0 +1,31 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Your Name <youremail@domain.com>
pkgname=ntfs2btrfs
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() {
cd "$pkgname"
mkdir b || true
cd b
cmake -DCMAKE_INSTALL_PREFIX='/usr' ..
make
}
package() {
cd "$pkgname/b"
make DESTDIR="$pkgdir/" install
}