From 61e8a1b226ee3986a4a612c0d0988d6bf3ccc97d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 4 Dec 2022 08:00:07 +0100 Subject: [PATCH] Initial upload: ntfs2btrfs 20220812-1 --- .SRCINFO | 17 +++++++++++++++++ PKGBUILD | 27 +++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..6e77385 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ntfs2btrfs + pkgdesc = In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs + pkgver = 20220812 + pkgrel = 1 + url = https://github.com/maharmstone/ntfs2btrfs + arch = x86_64 + license = GPL2 + makedepends = cmake + makedepends = pkgconf + depends = fmt + depends = zlib + depends = lzo + depends = zstd + source = https://github.com/maharmstone/ntfs2btrfs/archive/20220812/ntfs2btrfs-20220812.tar.gz + sha256sums = 9ce07535e6191ab45f204a4dd281be4768d7917df4426ee7c71aa9c308a2fe93 + +pkgname = ntfs2btrfs diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..09b6374 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Manuel Hüsers + +pkgname=ntfs2btrfs +pkgver=20220812 +pkgrel=1 +pkgdesc="In-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs" +arch=('x86_64') +url='https://github.com/maharmstone/ntfs2btrfs' +license=('GPL2') +depends=('fmt' 'zlib' 'lzo' 'zstd') +makedepends=('cmake' 'pkgconf') +source=("https://github.com/maharmstone/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('9ce07535e6191ab45f204a4dd281be4768d7917df4426ee7c71aa9c308a2fe93') + +build() { + cmake -B build -S "$pkgname-$pkgver" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_SBINDIR=bin \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTING=OFF + + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}