Core/fakeroot/PKGBUILD
2024-09-07 23:18:11 +08:00

35 lines
941 B
Bash

# 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: Future Linux Team <future_linux@163.com>
pkgname=fakeroot
pkgver=1.36
pkgrel=1
pkgdesc="Tool for simulating superuser privileges"
arch=('x86_64')
url="https://tracker.debian.org/pkg/fakeroot"
license=('GPL')
groups=('base-devel')
depends=('glibc' 'sed' 'bash') # 'util-linux')
# makedepends=('systemd')
source=(https://deb.debian.org/debian/pool/main/f/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
sha256sums=(7fe3cf3daf95ee93b47e568e85f4d341a1f9ae91766b4f9a9cdc29737dea4988)
build() {
cd ${pkgname}-${pkgver}
${CONFIGURE} \
--disable-static \
--with-ipc=sysv
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}