summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8c0bf0c7f825c348248acb41a6cc38634517301e (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
# Maintainer: Alistair Young <avatar@arkane-systems.net>
pkgname=bottle-imp
pkgver=1.0
pkgrel=1
pkgdesc="A helper for WSL's native systemd support."
arch=('x86_64')
url="https://github.com/arkane-systems/bottle-imp"
license=('Unlicense')

depends=('python>=3.7' 'python-psutil' 'systemd>=232.25' 'inetutils')
conflicts=('systemd-genie')
makedepends=('git' 'python-pip')
options=(!strip)
source=("git+https://github.com/arkane-systems/bottle-imp.git")
sha256sums=('SKIP')

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

build() {
    cd bottle-imp
    make build-binaries
}

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