[arch-commits] Commit in at51/repos (community-x86_64 community-x86_64/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Thu Apr 16 20:41:25 UTC 2020


    Date: Thursday, April 16, 2020 @ 20:41:24
  Author: ffy00
Revision: 615365

archrelease: copy trunk to community-x86_64

Added:
  at51/repos/community-x86_64/
  at51/repos/community-x86_64/PKGBUILD
    (from rev 615364, at51/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: at51/repos/community-x86_64/PKGBUILD (from rev 615364, at51/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-16 20:41:24 UTC (rev 615365)
@@ -0,0 +1,27 @@
+# Maintainer: Filipe Laíns (ffy00) <lains at archlinux.org>
+
+pkgname=at51
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='Applications for reverse engineering architecture 8051 firmware'
+arch=('x86_64')
+url='https://github.com/8051Enthusiast/at51'
+license=('MIT')
+makedepends=('rust' 'cargo')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('e631e69ff23141f80e8e3e0dc5dc35f75e556a79db0f50a8b55e0abcfe2bca90160f9fd71ab2deece6654d13c73eae4810669a6f301539e897579e9c3e1a3bf3')
+
+build() {
+  cd $pkgname-$pkgver
+
+  cargo build --release --locked --all-features
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -Dm 755 target/release/$pkgname "$pkgdir"/usr/bin/$pkgname
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+


More information about the arch-commits mailing list