summaryrefslogblamecommitdiff
path: root/PKGBUILD
blob: 5084f323900ee3dc878b5b31aa31f12c5bb06deb (plain) (tree)
1
2
3
4
5
6
7
8

                            
            



                                      
                                        













                                                    

                                                                                          

 
# Maintainer: Gabriel Jensen
pkgname=procyon
pkgver=1.0.0
pkgrel=1
pkgdesc=""
arch=("any")
url="https://mandelbrot.dk/${pkgname}"
makedepends=("desktop-file-utils" "git")
source=("git+https://mandelbrot.dk/${pkgname}")
license=("custom")
sha512sums=("SKIP")
pkgver() {
	cd "${srcdir}/${pkgname}"
	printf "%s.0.0" "$(git describe --abbrev=0)"
}
build() {
	cd "${srcdir}/${pkgname}"
	make -C"${pkgname}" -j$(($(nproc) + 0x1))
}
package() {
	cd "${srcdir}/${pkgname}"
	mkdir -pm755 "${pkgdir}/usr/bin"
	install -m755 "${pkgname}/${pkgname}.elf" "${pkgdir}/usr/bin/${pkgname}"
	desktop-file-install --dir="${pkgdir}/usr/share/applications" "${pkgname}.desktop"
}