summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 144b79c29ba5209a5c1019c444a1c316513e454c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: seth <getchoo at tuta dot io>
# Contributor: Ong Yong Xin <ongyongxin2020+github AT gmail DOT com>
# Contributor: Xuanrui Qi <me@xuanruiqi.com>
# Contributor: Rayfalling <Rayfalling@outlook.com>
# Contributor: facekapow, rayfalling, Ducksoft

_pkgname=genie
pkgname=${_pkgname}-systemd-git
pkgver=2.4.r0.g9225f28
pkgrel=2
pkgdesc="A quick way into a systemd \"bottle\" for WSL"
arch=('x86_64')
url="https://github.com/arkane-systems/genie"
license=('Unlicense')
depends=('daemonize' 'python>=3.7' 'python-psutil' 'systemd>=232.25' 'inetutils')
makedepends=('git' 'python-pip')
options=(!strip)
source=("git+https://github.com/arkane-systems/genie.git")
sha256sums=('SKIP')
backup=('etc/genie.ini')

pkgver() {
    cd genie
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}

build() {
    cd genie
    make build-binaries
}

package() {
    cd genie
    make DESTDIR=${pkgdir} internal-package
    make DESTDIR=${pkgdir} internal-supplement
}