[arch-commits] Commit in lapce/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Jun 11 13:40:17 UTC 2022
Date: Saturday, June 11, 2022 @ 13:40:16
Author: alerque
Revision: 1233695
upgpkg: lapce 0.1.2-1
Modified:
lapce/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-11 13:40:15 UTC (rev 1233694)
+++ PKGBUILD 2022-06-11 13:40:16 UTC (rev 1233695)
@@ -8,7 +8,7 @@
arch=(x86_64)
url=https://lapce.dev
_url="https://github.com/$pkgname/$pkgname"
-license=('Apache')
+license=(Apache)
depends=(expat
fontconfig
freetype2
@@ -31,15 +31,14 @@
build() {
cd "$_archive"
- cargo build --frozen --profile release-lto
+ cargo build --frozen --profile release-lto --all-features
}
package() {
cd "$_archive"
- find target/release-lto -maxdepth 1 -executable -type f \
- -exec install -vDm0755 -t "$pkgdir/usr/bin/" {} +
+ install -Dm0755 -t "$pkgdir/usr/bin/" "target/release-lto/$pkgname"{,-proxy}
local lname=dev.lapce.lapce
- install -vDm0644 -t "$pkgdir/usr/share/applications/" extra/linux/$lname.desktop
- install -vDm0644 -t "$pkgdir/usr/share/metainfo/" extra/linux/$lname.metainfo.xml
- install -vDm0644 extra/images/logo.png "$pkgdir/usr/share/pixmaps/$lname.png"
+ install -Dm0644 -t "$pkgdir/usr/share/applications/" extra/linux/$lname.desktop
+ install -Dm0644 -t "$pkgdir/usr/share/metainfo/" extra/linux/$lname.metainfo.xml
+ install -Dm0644 extra/images/logo.png "$pkgdir/usr/share/pixmaps/$lname.png"
}
More information about the arch-commits
mailing list