summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-03-23 16:07:59 +0100
committerpml68 <contact@pml68.dev>2025-03-23 16:07:59 +0100
commitea98cf602b5f0c1692d0dbcaea0c35060ed35391 (patch)
treec4d333b276ba4e76b5ab0121f5908da104c9d101 /PKGBUILD
parentdocs: update TODO.md (diff)
downloadiced-builder-ea98cf602b5f0c1692d0dbcaea0c35060ed35391.tar.gz
ci: add caching, use mold for linking
Diffstat (limited to '')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 073c1cb..dcf6adf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=iced-builder
_pkgver=0.1.0
-pkgver=0.1.0.g256e3ba
+pkgver=0.1.0.g5583c7a
pkgrel=1
pkgdesc='UI builder for iced, built with iced.'
arch=(x86_64)
@@ -12,13 +12,12 @@ depends=(
gcc-libs
glibc
gtk3
- rustfmt
)
makedepends=(
git
cargo
)
-options=('!lto' '!debug')
+options=('!lto' '!strip' '!debug')
source=("$pkgname::git+${url}.git")
sha256sums=('SKIP')
@@ -43,7 +42,12 @@ build() {
}
package() {
+ depends=(
+ rustfmt
+ )
+
cd "${pkgname}"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}