Date: Friday, April 28, 2023 @ 02:20:10
Author: svenstaro
Revision: 1449031
archrelease: copy trunk to community-x86_64
Added:
dummyhttp/repos/community-x86_64/PKGBUILD
(from rev 1449030, dummyhttp/trunk/PKGBUILD)
Deleted:
dummyhttp/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-28 02:19:55 UTC (rev 1449030)
+++ PKGBUILD 2023-04-28 02:20:10 UTC (rev 1449031)
@@ -1,37 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-pkgname=dummyhttp
-pkgver=1.0.2
-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/v${pkgver}.tar.gz")
-sha512sums=('f7069139d335f744ff9416a6cb10112c78f25713dc669717eb205df1a256ee2f1fda40a697808f09d7b15a0bedd4b4ac2ab31c4523cc851abf1e5d24831e23e7')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- cargo build --release --locked
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
-
- install -Dm755 target/release/dummyhttp "$pkgdir"/usr/bin/dummyhttp
-
- mkdir -p
"$pkgdir"/usr/share/{bash-completion/completions,zsh/site-functions,fish/vendor_completions.d}
- target/release/dummyhttp --print-completions bash >
"$pkgdir"/usr/share/bash-completion/completions/dummyhttp
- target/release/dummyhttp --print-completions zsh >
"$pkgdir"/usr/share/zsh/site-functions/_dummyhttp
- target/release/dummyhttp --print-completions fish >
"$pkgdir"/usr/share/fish/vendor_completions.d/dummyhttp.fish
-
- mkdir -p "$pkgdir"/usr/share/man/man1
- target/release/dummyhttp --print-manpage | gzip >
"$pkgdir"/usr/share/man/man1/$pkgname.1.gz
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dummyhttp/repos/community-x86_64/PKGBUILD (from rev 1449030,
dummyhttp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-28 02:20:10 UTC (rev 1449031)
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+pkgname=dummyhttp
+pkgver=1.0.3
+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/v${pkgver}.tar.gz")
+sha512sums=('57dfeac8f9774d647b7ce09ec6a413f5ca3140500099fda7a7819134146eba105012a629e6e050eedb2ee1ecd026e25ff55bb0acee1fe460f24c8027df6f802a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo build --release --locked
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -Dm755 target/release/dummyhttp "$pkgdir"/usr/bin/dummyhttp
+
+ mkdir -p
"$pkgdir"/usr/share/{bash-completion/completions,zsh/site-functions,fish/vendor_completions.d}
+ target/release/dummyhttp --print-completions bash >
"$pkgdir"/usr/share/bash-completion/completions/dummyhttp
+ target/release/dummyhttp --print-completions zsh >
"$pkgdir"/usr/share/zsh/site-functions/_dummyhttp
+ target/release/dummyhttp --print-completions fish >
"$pkgdir"/usr/share/fish/vendor_completions.d/dummyhttp.fish
+
+ mkdir -p "$pkgdir"/usr/share/man/man1
+ target/release/dummyhttp --print-manpage | gzip >
"$pkgdir"/usr/share/man/man1/$pkgname.1.gz
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: