Tobias Powalowski pushed to branch main at Arch Linux / Packaging / Packages / xfsdump
Commits: 97faa4bb by Tobias Powalowski at 2024-08-27T22:54:22+02:00 upgpkg: 3.1.12-3: switch to git building, added nvchecker, updated license, removed dmapi depend - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,23 +1,21 @@ pkgbase = xfsdump pkgdesc = Additional XFS filesystem utilities pkgver = 3.1.12 - pkgrel = 2 + pkgrel = 3 url = http://xfs.org arch = x86_64 - license = GPL + license = GPL-2.0-only + makedepends = git depends = xfsprogs depends = attr depends = acl - depends = dmapi depends = util-linux-libs depends = gcc-libs depends = ncurses depends = glibc - source = https://kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.xz - source = https://kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.12.tar.sign + source = git+https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git?signed#tag=v3.1.12 validpgpkeys = 2B8185919E8D248981869DED20AE1692E13DDEE0 validpgpkeys = 4020459E58C1A52511F5399113F703E6C11CF6F0 - sha256sums = f39c4c1b306b2dd7ec979c0e94d60fe69083d2ecf9af051cac5ef3bed772c74a - sha256sums = SKIP + b2sums = 56c3d8e6bea56f918fb2d64fe67e4270a3b5daca7cfce665b54f65ec4838673dca1f21917d2a179d453bc715e779855e7391efd32eb0dd07c32597a9299c3d36 pkgname = xfsdump ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,4 @@ +[xfsprogs] +source = "git" +git = "https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git" +prefix = "v" ===================================== PKGBUILD ===================================== @@ -1,4 +1,5 @@ -# Maintainer: Jiachen YANG <farsee...@gmail.com> +# Maintainer: Tobias Powalowski <tp...@archlinux.org> +# Contributor: Jiachen YANG <farsee...@gmail.com> # Contributor: Allen Wild <allenwil...@gmail.com> # Contributor: judd <jvi...@zeroflux.org> # Contributor: dkaylor <dpkay...@gmail.com> @@ -6,32 +7,37 @@ pkgname=xfsdump pkgver=3.1.12 -pkgrel=2 +pkgrel=3 pkgdesc="Additional XFS filesystem utilities" arch=(x86_64) url="http://xfs.org" -license=('GPL') -depends=('xfsprogs' 'attr' 'acl' 'dmapi' 'util-linux-libs' 'gcc-libs' 'ncurses' 'glibc') -source=(https://kernel.org/pub/linux/utils/fs/xfs/xfsdump/xfsdump-${pkgver}.tar.{xz,sign}) +license=('GPL-2.0-only') +depends=('xfsprogs' 'attr' 'acl' 'util-linux-libs' 'gcc-libs' 'ncurses' 'glibc') +makedepends=('git') +source=("git+https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git?signed#tag=v${pkgver}") # Eric R. Sandeen <sand...@sandeen.net> # Carlos Eduardo Maiolino <car...@maiolino.me> <c...@kernel.org> validpgpkeys=('2B8185919E8D248981869DED20AE1692E13DDEE0' '4020459E58C1A52511F5399113F703E6C11CF6F0') -sha256sums=('f39c4c1b306b2dd7ec979c0e94d60fe69083d2ecf9af051cac5ef3bed772c74a' - 'SKIP') +b2sums=('56c3d8e6bea56f918fb2d64fe67e4270a3b5daca7cfce665b54f65ec4838673dca1f21917d2a179d453bc715e779855e7391efd32eb0dd07c32597a9299c3d36') + +prepare() { + cd "${pkgname}-dev" + make configure +} build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${pkgname}-dev" ./configure --prefix=/usr --sbindir=/usr/bin INSTALL_USER=root INSTALL_GROUP=root make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${pkgname}-dev" make DESTDIR="${pkgdir}" install # root /sbin directory can't be overridden properly with configure, # so move files manually mv -vf "${pkgdir}/sbin/"* "${pkgdir}/usr/bin/" - rmdir "${pkgdir}/sbin" + rm -r "${pkgdir}/sbin" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfsdump/-/commit/97faa4bb92a17f7e51a0d8cccceb7ccef5bcd379 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfsdump/-/commit/97faa4bb92a17f7e51a0d8cccceb7ccef5bcd379 You're receiving this email because of your account on gitlab.archlinux.org.