mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Update to version 1.0.0
This commit is contained in:
commit
632bebafc0
2 changed files with 72 additions and 0 deletions
23
.SRCINFO
Normal file
23
.SRCINFO
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
pkgbase = crossmacro
|
||||
pkgdesc = Mouse Macro Automation Tool for Linux Wayland
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/alper-han/CrossMacro
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = dotnet-sdk>=10.0
|
||||
makedepends = git
|
||||
depends = dotnet-runtime>=10.0
|
||||
depends = zlib
|
||||
depends = openssl
|
||||
depends = icu
|
||||
depends = krb5
|
||||
depends = fontconfig
|
||||
depends = libx11
|
||||
depends = libxcursor
|
||||
depends = libxrandr
|
||||
options = !strip
|
||||
source = crossmacro-1.0.0.tar.gz::https://github.com/alper-han/CrossMacro/archive/v1.0.0.tar.gz
|
||||
sha256sums = c3a9a401a942d49de7df96115a387e772e9739a296d5df1484c8d207460f466b
|
||||
|
||||
pkgname = crossmacro
|
||||
49
PKGBUILD
Normal file
49
PKGBUILD
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Maintainer: Zynix <crossmacro@zynix.net>
|
||||
pkgname=crossmacro
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Mouse Macro Automation Tool for Linux Wayland"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/alper-han/CrossMacro"
|
||||
license=('MIT')
|
||||
depends=('dotnet-runtime>=10.0' 'zlib' 'openssl' 'icu' 'krb5' 'fontconfig' 'libx11' 'libxcursor' 'libxrandr')
|
||||
makedepends=('dotnet-sdk>=10.0' 'git')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/alper-han/CrossMacro/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('c3a9a401a942d49de7df96115a387e772e9739a296d5df1484c8d207460f466b')
|
||||
options=('!strip')
|
||||
|
||||
build() {
|
||||
cd "CrossMacro-${pkgver}"
|
||||
|
||||
# Restore and build .NET application
|
||||
dotnet restore
|
||||
dotnet publish src/CrossMacro.UI/CrossMacro.UI.csproj \
|
||||
-c Release \
|
||||
-r linux-x64 \
|
||||
--self-contained false \
|
||||
-o publish/
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "CrossMacro-${pkgver}"
|
||||
|
||||
# Install application files
|
||||
install -dm755 "$pkgdir/usr/lib/$pkgname"
|
||||
cp -r publish/* "$pkgdir/usr/lib/$pkgname/"
|
||||
|
||||
# Create executable symlink
|
||||
install -dm755 "$pkgdir/usr/bin"
|
||||
ln -s "/usr/lib/$pkgname/CrossMacro.UI" "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
# Install icon
|
||||
install -Dm644 "src/CrossMacro.UI/Assets/mouse-icon.png" \
|
||||
"$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
|
||||
|
||||
# Install desktop file
|
||||
install -Dm644 "scripts/assets/CrossMacro.desktop" \
|
||||
"$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
|
||||
# Install license
|
||||
install -Dm644 "LICENSE" \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue