Correct mistakes, prepare for AUR

master
Cole Deck 3 years ago
parent 10e8c6361f
commit 6f1e4678e5

@ -1,11 +1,11 @@
#Maintainer: VerruckteFuchs <derverrucktefuchs@gmail.com> # Maintainer: Cole Deck <cole at deck dot sh>
pkgname=fw-ectool-git pkgname=fw-ectool-git
_gitname=fw-ectool _gitname=ectool
pkgver=r21603.35580ec63 pkgver=r21603.35580ec63
pkgrel=1 pkgrel=1
pkgdesc="ectool for the Framework laptop." pkgdesc="ectool for the Framework laptop."
arch=(x86_64) arch=(x86_64)
url="https://chromium.googlesource.com/chromiumos/platform/ec" url="https://www.howett.net/posts/2021-12-framework-ec/#software"
provides=('ectool') provides=('ectool')
depends=() depends=()
makedepends=('inetutils') makedepends=('inetutils')
@ -26,7 +26,7 @@ build() {
package() { package() {
cd "$srcdir/fw-ectool" cd "$srcdir/fw-ectool"
install -Dm755 "$srcdir/fw-ectool/build/bds/util/ectool" "$pkgdir/usr/bin/ectool" install -Dm755 build/bds/util/ectool "$pkgdir/usr/bin/ectool"
printf "#!/bin/bash\n/usr/bin/ectool --interface=fwk \$@" > "$pkgdir/usr/bin/fw-ectool" printf "#!/bin/bash\n/usr/bin/ectool --interface=fwk \$@" > "$pkgdir/usr/bin/fw-ectool"
chmod +x "$pkgdir/usr/bin/fw-ectool" chmod +x "$pkgdir/usr/bin/fw-ectool"
# install license # install license

Loading…
Cancel
Save