akshara/PKGBUILD

37 lines
1.2 KiB
Text
Raw Normal View History

2023-05-12 02:29:45 -05:00
# Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
pkgname='akshara-git'
2023-11-23 21:27:15 -06:00
pkgver=r59.9f2f25b
pkgrel=1
2023-05-12 02:32:16 -05:00
pkgdesc="An update system for operating systems"
2023-05-12 02:29:45 -05:00
arch=('x86_64' 'i686')
url="https://github.com/blend-os/blend"
license=('GPL3')
2023-11-17 14:10:19 -06:00
makedepends=('git' 'base-devel')
source=('git+https://git.blendos.co/blendOS/system-tools/akshara')
2023-05-12 02:29:45 -05:00
sha256sums=('SKIP')
2023-11-23 21:27:15 -06:00
depends=('bash' 'python' 'python-lockfile' 'python-psutil' 'python-fasteners' 'python-yaml' 'squashfs-tools' 'wget' 'python-requests' 'arch-install-scripts')
2023-05-12 02:29:45 -05:00
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
pkgver() {
cd "${srcdir}/${pkgbase%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${pkgbase%-git}"
install -Dm755 \
"${pkgname%-git}" \
-t "${pkgdir}"/usr/bin/
install -Dm644 "${pkgname%-git}.service" -t \
2023-05-15 10:40:22 -05:00
"${pkgdir}"/usr/lib/systemd/system/
2024-02-09 10:48:56 -06:00
install -Dm644 "${pkgname%-git}-system-update.service" -t \
"${pkgdir}"/usr/lib/systemd/system/
2023-05-12 02:29:45 -05:00
install -Dm644 "${pkgname%-git}.hook" \
"${pkgdir}/usr/lib/initcpio/hooks/${pkgname%-git}"
install -Dm644 "${pkgname%-git}.install" \
"${pkgdir}/usr/lib/initcpio/install/${pkgname%-git}"
}