Initial commit
This commit is contained in:
commit
2da7716098
2 changed files with 39 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
*
|
||||||
|
|
||||||
|
!.gitignore
|
||||||
|
!PKGBUILD
|
||||||
|
!.SRCINFO
|
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
|
||||||
|
|
||||||
|
pkgname='akshara-git'
|
||||||
|
pkgver=r33.e380b80
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="A package manager for blendOS"
|
||||||
|
arch=('x86_64' 'i686')
|
||||||
|
url="https://github.com/blend-os/blend"
|
||||||
|
license=('GPL3')
|
||||||
|
makedepends=("electron${_electronversion}" 'git' 'npm' 'base-devel')
|
||||||
|
source=('git+https://github.com/blend-os/akshara.git')
|
||||||
|
sha256sums=('SKIP')
|
||||||
|
|
||||||
|
depends=('bash' 'python' 'python-lockfile' 'python-psutil' 'squashfs-tools' 'p7zip' 'zsync')
|
||||||
|
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 \
|
||||||
|
"${pkgdir}"/usr/lib/systemd/user/
|
||||||
|
install -Dm644 "${pkgname%-git}.hook" \
|
||||||
|
"${pkgdir}/usr/lib/initcpio/hooks/${pkgname%-git}"
|
||||||
|
install -Dm644 "${pkgname%-git}.install" \
|
||||||
|
"${pkgdir}/usr/lib/initcpio/install/${pkgname%-git}"
|
||||||
|
}
|
Loading…
Reference in a new issue