Package Details: daze v0.1.1a-2

Git Clone URL: https://aur.archlinux.org/daze.git (read-only, click to copy)
Package Base: daze
Description: A declarative langauge for building websites.
Upstream URL: https://github.com/JTechnologies/Daze/
Licenses: MIT
Submitter: VelocityDesign
Maintainer: VelocityDesign
Last Packager: VelocityDesign
Votes: 0
Popularity: 0.000000
First Submitted: 2021-07-17 03:47 (UTC)
Last Updated: 2021-07-19 15:54 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

lmartinez-mirror commented on 2021-07-17 04:53 (UTC)

Posting a patch for your PKGBUILD so that it conforms better to the Arch packaging guidelines. Highlights:

  • 'v' removed from pkgver
  • use install to directly install your script
  • automatically downloads the latest release tarball instead of adding source code to the AUR repo
diff --git a/PKGBUILD b/PKGBUILD
index 1ad2500..be855a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,21 @@
-# This is an example PKGBUILD file. Use this as a start to creating your own,
-# and remove these comments. For more information, see 'man PKGBUILD'.
-# NOTE: Please fill out the license field for your package! If it is unknown,
-# then please put 'unknown'.
-
 # Maintainer: Judah Brown <privacyprotect1234@outlook.com>
+# Contributor: Luis Martinez <luis dot martinez at tuta dot io>
+
 pkgname=daze
-pkgver=v0.1.1a
-pkgrel=2
+pkgver=0.1.1a
+pkgrel=3
 pkgdesc="A declarative langauge for building websites."
 arch=('any')
 url="https://github.com/JTechnologies/Daze/"
 license=('MIT')
-depends=('python>3')
-source=("daze")
-noextract=("daze")
-md5sums=("7d5c63405b44505f17ac7a676fc67b38")
+depends=('python3')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha256sums=('e93d3bf8b1da712809a67dbd40afee8d598ee50828bd8a73c919b980c500ffab')
+validpgpkeys=('4AEE18F83AFDEB23')
+
 package() {
-   mkdir -p "${pkgdir}/usr/bin"
-   cp "${srcdir}/daze" "${pkgdir}/usr/bin/daze"
-   chmod +x "${pkgdir}/usr/bin/daze"
+   cd "Daze-$pkgver"
+   install -Dm 755 daze -t "$pkgdir/usr/bin/"
+   install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+   install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
 }