[arch-commits] Commit in dummyhttp (3 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Tue Aug 23 23:11:05 UTC 2022
Date: Tuesday, August 23, 2022 @ 23:11:05
Author: svenstaro
Revision: 1275964
archrelease: copy trunk to community-x86_64
Added:
dummyhttp/repos/
dummyhttp/repos/community-x86_64/
dummyhttp/repos/community-x86_64/PKGBUILD
(from rev 1275963, dummyhttp/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: dummyhttp/repos/community-x86_64/PKGBUILD (from rev 1275963, dummyhttp/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2022-08-23 23:11:05 UTC (rev 1275964)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at archlinux.org>
+pkgname=dummyhttp
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Super simple HTTP server that replies a fixed body with a fixed response code"
+arch=('x86_64')
+url="https://github.com/svenstaro/dummyhttp"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+options=('!lto')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/svenstaro/dummyhttp/archive/${pkgver}.tar.gz")
+sha512sums=('913d913a1d4cb29e1668a5cdf7029a46351142d0b93180199c5c42f039a961ace1a8b894d5f743b5fb2beb860c2f3a9b424dd48ca828ae1055a0da64c77890ae')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo build --release --locked
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -Dm755 target/release/dummyhttp "$pkgdir"/usr/bin/dummyhttp
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list