diff options
author | Fredrick Brennan | 2023-05-01 02:59:40 -0400 |
---|---|---|
committer | Fredrick Brennan | 2023-05-01 03:00:10 -0400 |
commit | 032c54a88668e761983d32cc02e7c7d6d5592bc0 (patch) | |
tree | 7fb7c8ced62c9f811d1dbc18b0954878cea7f62b | |
parent | b4c5f40b8aba6e4a60f5f5ff8892b949685a9314 (diff) | |
download | aur-032c54a88668e761983d32cc02e7c7d6d5592bc0.tar.gz |
v0.2.0.pre
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 12 deletions
@@ -1,13 +1,13 @@ pkgbase = makepkg-cg pkgdesc = A makepkg wrapper using Control Groups via systemd.resource-control - pkgver = 0.1.0.pre + pkgver = 0.2.0.pre pkgrel = 1 url = https://github.com/ctrlcctrlv/makepkg-cg arch = any license = Apache depends = systemd depends = bash - source = https://github.com/ctrlcctrlv/makepkg-cg/archive/refs/tags/v0.1.0.pre.tar.gz - sha256sums = c1983fedd56034f68d695b5a1b09fdbcc3abbe2d6fae9569a48164143f612d27 + source = https://github.com/ctrlcctrlv/makepkg-cg/archive/refs/tags/v0.2.0.pre.tar.gz + sha256sums = b2bc5a4be2be314d932c756a3a116c8a15e8adbe4dbf40ae6d91f2f44b2e37eb pkgname = makepkg-cg @@ -2,32 +2,34 @@ pkgname=makepkg-cg _ghuser=ctrlcctrlv -pkgver='0.1.0.pre' +#pkgver='0.2.0' +pkgver='0.2.0.pre' pkgrel=1 pkgdesc="A makepkg wrapper using Control Groups via systemd.resource-control" arch=('any') url="https://github.com/ctrlcctrlv/makepkg-cg" license=('Apache') depends=('systemd' 'bash') +#source=("$pkgname-$pkgver.tar.gz") source=("https://github.com/$_ghuser/$pkgname/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('c1983fedd56034f68d695b5a1b09fdbcc3abbe2d6fae9569a48164143f612d27') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - cp doc/makepkg-cg.conf "${srcdir}/" -} +#sha256sums=(SKIP) +sha256sums=('b2bc5a4be2be314d932c756a3a116c8a15e8adbe4dbf40ae6d91f2f44b2e37eb') package() { cd "${srcdir}/${pkgname}-${pkgver}" - # CFLAGS="" make + #CFLAGS="" make + mkdir -p "${pkgdir}/usr/share/makepkg-cg" + install -Dm644 "inner.sh" "${pkgdir}/usr/share/makepkg-cg/inner.sh" # Install the makepkg-cg script install -Dm755 makepkg-cg "${pkgdir}/usr/bin/makepkg-cg" + install -Dm755 makechrootpkg-cg "${pkgdir}/usr/bin/makechrootpkg-cg" + install -Dm755 makedockerpkg-cg "${pkgdir}/usr/bin/makedockerpkg-cg" # Install the eBPF program # install -Dm755 makepkg-cg-prio/makepkg-cg-prio.bpf.o "${pkgdir}/usr/share/makepkg-cg/makepkg-cg-prio.bpf.o" # Install the makepkg-cg configuration file - install -Dm644 "${srcdir}/makepkg-cg.conf" "${pkgdir}/usr/share/makepkg-cg/makepkg-cg.conf" + install -Dm644 "doc/makepkg-cg.conf" "${pkgdir}/usr/share/makepkg-cg/makepkg-cg.conf" } |