Skip to content

Commit

Permalink
ciel: improvements
Browse files Browse the repository at this point in the history
Replace /usr/libexec with /usr/lib/ciel

Don't conflicts with ciel-git, they should conflicts with us instead

Add missing depends
  • Loading branch information
Xeonacid committed Feb 7, 2025
1 parent 2cf4728 commit 56bd5b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions alarmcn/ciel/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Maintainer: Kaiyang Wu <[email protected]>
# Maintainer: Xeonacid <[email protected]>
pkgname=ciel
_pkgname=${pkgname}-rs
pkgver=3.9.1
Expand All @@ -7,14 +8,16 @@ pkgdesc="A tool for controlling multi-layer file systems and containers."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/AOSC-Dev/ciel-rs"
license=('MIT')
depends=('systemd' 'dbus' 'openssl' 'libssh2' 'libgit2' 'xz' 'squashfs-tools' 'glibc' 'systemd-libs')
depends=('systemd' 'dbus' 'openssl' 'libssh2' 'libgit2' 'xz' 'squashfs-tools' 'glibc' 'systemd-libs' 'zlib' 'gcc-libs' 'bash')
makedepends=('rust' 'make' 'gcc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AOSC-Dev/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('0386d8c02d6500fadaea214a58639a03438082e8f17d3465f804dc291dbb1328')
conflicts=('ciel-git')

prepare() {
cd ${_pkgname}-${pkgver}

find . -type f -exec sed -i "s|libexec|lib/$pkgname|g" {} +

export RUSTUP_TOOLCHAIN=stable
cargo update
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
Expand Down
7 changes: 5 additions & 2 deletions archlinuxcn/ciel/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Maintainer: Kaiyang Wu <[email protected]>
# Maintainer: Xeonacid <[email protected]>
pkgname=ciel
_pkgname=${pkgname}-rs
pkgver=3.9.1
Expand All @@ -7,14 +8,16 @@ pkgdesc="A tool for controlling multi-layer file systems and containers."
arch=('i686' 'x86_64' 'aarch64')
url="https://github.com/AOSC-Dev/ciel-rs"
license=('MIT')
depends=('systemd' 'dbus' 'openssl' 'libssh2' 'libgit2' 'xz' 'squashfs-tools' 'glibc' 'systemd-libs')
depends=('systemd' 'dbus' 'openssl' 'libssh2' 'libgit2' 'xz' 'squashfs-tools' 'glibc' 'systemd-libs' 'zlib' 'gcc-libs' 'bash')
makedepends=('rust' 'make' 'gcc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AOSC-Dev/${_pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('0386d8c02d6500fadaea214a58639a03438082e8f17d3465f804dc291dbb1328')
conflicts=('ciel-git')

prepare() {
cd ${_pkgname}-${pkgver}

find . -type f -exec sed -i "s|libexec|lib/$pkgname|g" {} +

export RUSTUP_TOOLCHAIN=stable
cargo update
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
Expand Down

0 comments on commit 56bd5b6

Please sign in to comment.