mirror of
https://github.com/house-of-vanity/mus-fuse.git
synced 2025-07-06 21:24:09 +00:00
Fix CI
This commit is contained in:
9
.github/workflows/PKGBUILD
vendored
9
.github/workflows/PKGBUILD
vendored
@ -5,10 +5,10 @@ pkgver=0.7.2
|
||||
pkgrel=1
|
||||
pkgdesc="Written safely in Rust, FUSE FS with your own private music library hosted on your server securely."
|
||||
url="https://github.com/house-of-vanity/mus-fuse.git"
|
||||
arch=(x86_64)
|
||||
license=(WTFPL)
|
||||
arch=($CARCH)
|
||||
license=(WTFPL custom)
|
||||
depends=(openssl fuse)
|
||||
makedepends=(cargo git fuse openssl)
|
||||
makedepends=(cargo git)
|
||||
source=("git+https://github.com/house-of-vanity/$pkgname")
|
||||
sha512sums=('SKIP')
|
||||
backup=('etc/mus-fuse.yml')
|
||||
@ -20,7 +20,7 @@ pkgver() {
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname"
|
||||
cargo fetch --target x86_64-unknown-linux-gnu
|
||||
cargo fetch --target $CARCH-unknown-linux-gnu
|
||||
}
|
||||
|
||||
build() {
|
||||
@ -34,6 +34,7 @@ package() {
|
||||
install -Dt "$pkgdir/usr/bin" target/release/$pkgname
|
||||
install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 README.md
|
||||
install -Dt "$pkgdir/usr/lib/systemd/system" assets/$pkgname.service
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
mkdir -p "$pkgdir/etc"
|
||||
cp -n assets/mus-fuse.yml "$pkgdir/etc/mus-fuse.yml"
|
||||
}
|
||||
|
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -21,15 +21,12 @@ jobs:
|
||||
with:
|
||||
PKGBUILD: $GITHUB_WORKSPACE/.github/workflows/PKGBUILD
|
||||
OUTDIR: ./
|
||||
- run: pwd
|
||||
- run: ls -l
|
||||
- run: echo mus-fuse-${{ github.ref }}-x86_64.pkg.tar.xz
|
||||
- run: mv ./*tar.xz mus-fuse-x86_64.pkg.tar.xz
|
||||
- run: mv ./*pkg.tar.zst mus-fuse-x86_64.pkg.tar.zst
|
||||
- name: Upload Arch Package
|
||||
uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: mus-fuse-x86_64.pkg.tar.xz
|
||||
path: ./mus-fuse-x86_64.tar.xz
|
||||
name: arch_linux_mus-fuse-x86_64.pkg.tar.zst
|
||||
path: ./mus-fuse-x86_64.pkg.tar.zst
|
||||
|
||||
make_bin:
|
||||
name: Build binary
|
||||
|
Reference in New Issue
Block a user