arch-packages/PKGBUILD
Νικόλαος Κυριάκος Φυτίλης ba5449332d fix sbin exists in fs
2021-09-25 11:08:44 +03:00

29 lines
541 B
Bash

# Maintainer: N Fytilis <n-fit AT live.com>
_pkgbase=ntfs2btrfs
pkgname=$_pkgbase-git
pkgbase=$_pkgbase-git
pkgver=1
pkgrel=2
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 "$_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
}