future-install-scripts/PKGBUILD

44 lines
1.1 KiB
Bash
Raw Permalink Normal View History

# 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=future-install-scripts
2024-10-29 20:45:00 +08:00
pkgver=29
pkgrel=1
pkgdesc="Scripts to aid in installing Future Linux"
arch=('x86_64')
url="https://gitlab.archlinux.org/archlinux/arch-install-scripts"
2024-10-29 20:45:00 +08:00
license=('GPL-2.0-only')
depends=('gawk' 'bash' 'coreutils' 'grep' 'pacman' 'util-linux')
2024-10-29 20:45:00 +08:00
makedepends=('git' 'python-asciidoc')
source=(git+https://gitlab.archlinux.org/archlinux/arch-install-scripts.git#tag=v${pkgver}
b53d472be3.patch)
sha256sums=(SKIP
2024-10-29 20:45:00 +08:00
9236d6a4a0ba586f3c7184e7379b8e3e94548c365e65cd312983eb7e661ee673)
pkgver() {
2024-10-29 20:45:00 +08:00
cd arch-install-scripts
2024-10-29 20:45:00 +08:00
git describe | sed 's/^v//'
}
prepare() {
2024-10-29 20:45:00 +08:00
cd arch-install-scripts
2024-10-29 20:45:00 +08:00
git apply ${srcdir}/b53d472be3.patch
}
build() {
2024-10-29 20:45:00 +08:00
cd arch-install-scripts
2024-10-29 20:45:00 +08:00
make
}
package() {
2024-10-29 20:45:00 +08:00
cd arch-install-scripts
2024-10-29 20:45:00 +08:00
make DESTDIR=${pkgdir} install
}