[arch-commits] Commit in rustypaste-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Mar 13 19:28:10 UTC 2022
Date: Sunday, March 13, 2022 @ 19:28:10
Author: orhun
Revision: 1151273
archrelease: copy trunk to community-x86_64
Added:
rustypaste-cli/repos/community-x86_64/PKGBUILD
(from rev 1151272, rustypaste-cli/trunk/PKGBUILD)
Deleted:
rustypaste-cli/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 40 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-13 19:28:03 UTC (rev 1151272)
+++ PKGBUILD 2022-03-13 19:28:10 UTC (rev 1151273)
@@ -1,38 +0,0 @@
-# Maintainer: Leonidas Spyropoulos <artafinde at archlinux.org>
-
-pkgname='rustypaste-cli'
-pkgdesc="A CLI tool for rustypaste."
-pkgver=0.1.3
-pkgrel=3
-arch=('x86_64')
-url="https://github.com/orhun/rustypaste-cli"
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('rust' 'cargo')
-source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('bfd5064783ca770cbbf5c07958709a37fbe5903c5c2f0dd89e170031ac4437ea')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
-}
-
-build(){
- cd "${pkgname}-${pkgver}"
- CFLAGS+=' -ffat-lto-objects'
- env CARGO_INCREMENTAL=0 cargo build --release --locked --offline
-}
-
-check(){
- cd "${pkgname}-${pkgver}"
- env CARGO_INCREMENTAL=0 cargo test --locked --offline
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -D -m755 "target/release/rpaste" "${pkgdir}/usr/bin/rpaste"
- install -D -m644 "config.toml" "${pkgdir}/usr/share/doc/rustypaste-cli/example/config.toml"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: rustypaste-cli/repos/community-x86_64/PKGBUILD (from rev 1151272, rustypaste-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-13 19:28:10 UTC (rev 1151273)
@@ -0,0 +1,40 @@
+# Maintainer: Leonidas Spyropoulos <artafinde at archlinux.org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname='rustypaste-cli'
+pkgdesc="A CLI tool for rustypaste."
+pkgver=0.1.4
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/orhun/rustypaste-cli"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('18c2819d336219a95fa2df89540c7cbdf860b764255d822895d0d7f54f385a73')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ cargo fetch --locked --target "${CARCH}-unknown-linux-gnu"
+}
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ CFLAGS+=' -ffat-lto-objects'
+ env CARGO_INCREMENTAL=0 cargo build --release --frozen
+}
+
+check(){
+ cd "${pkgname}-${pkgver}"
+ env CARGO_INCREMENTAL=0 cargo test --frozen
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -D -m755 "target/release/rpaste" "${pkgdir}/usr/bin/rpaste"
+ install -D -m644 "config.toml" "${pkgdir}/usr/share/doc/rustypaste-cli/example/config.toml"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list