Package Details: smassh 3.1.3-2

Git Clone URL: https://aur.archlinux.org/smassh.git (read-only, click to copy)
Package Base: smassh
Description: TUI based typing test application inspired by MonkeyType
Upstream URL: https://github.com/kraanzu/smassh
Licenses: GPL-3.0-only
Submitter: kraanzu
Maintainer: kraanzu (jaxvanyang)
Last Packager: kraanzu
Votes: 3
Popularity: 1.54
First Submitted: 2024-01-26 19:44 (UTC)
Last Updated: 2024-03-26 17:55 (UTC)

Pinned Comments

jaxvanyang commented on 2024-03-27 01:39 (UTC)

As discussed, smassh has been turned into a source package. The pyinstaller binary can be installed with the smassh-bin package. If you want the binary released on GitHub, you should install smassh-bin instead. But normally, these two make no difference.

Latest Comments

« First ‹ Previous 1 2

kraanzu commented on 2024-03-24 11:34 (UTC)

Hey @jaxvanyang!

I added you as a co-maintainer on both of the packages <3

Also, Great suggestions, and thanks for pointing them out

I intentionally orphaned packages built from the source because all the dependencies weren't updated (I'm not really sure about other methods to package but feel free to share anything) but yeah, we can add -bin!

I suppose we can't rename the packages? If you need to create new packages for source/binary feel free to do so and you can add me as a co-maintainer there :)

Again, Thanks for the help man. Really appreciate it <3

jaxvanyang commented on 2024-03-24 11:01 (UTC) (edited on 2024-03-24 11:09 (UTC) by jaxvanyang)

@kraanzu

[Do I need to give you any permissions or something?]

Yes, there is a comaintainers page for each package. You need to add me there: https://aur.archlinux.org/pkgbase/smassh/comaintainers

According to AUR submission guidelines:

Packages that use prebuilt deliverables, when the sources are available, must use the -bin suffix.

I think maybe we should move this package to smassh-bin, and smassh will be a package built from source. Of course, I can do that for you.

PKGBUILD recommends not include package name is the description. So should we change it to TUI based typing test application inspired by MonkeyType?

I also have a similar package: https://aur.archlinux.org/packages/dooit

It'd be great if you could co-maintain that as well :D

I'll take a look if you also give permission of that package.

kraanzu commented on 2024-03-22 09:07 (UTC) (edited on 2024-03-22 09:08 (UTC) by kraanzu)

Hey, @jaxvanyang!

Thanks, I didn't know that

It'd be great if you could co-maintain the package as well! (Definitely, you know more about this than me)

[Do I need to give you any permissions or something?]

I also have a similar package: https://aur.archlinux.org/packages/dooit

It'd be great if you could co-maintain that as well :D

Thanks!!!

jaxvanyang commented on 2024-03-22 01:40 (UTC) (edited on 2024-03-22 02:01 (UTC) by jaxvanyang)

Please name the source binary with a unique name, or with some AUR helper like paru, old binary cache will be used.

I recommend the modification below, also add checksum and remove some redundant lines:

diff --git a/.SRCINFO b/.SRCINFO
index 6f56242..8337134 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
 pkgbase = smassh
        pkgdesc = Smassh your Keyboard, TUI Edition
        pkgver = 3.1.2
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/kraanzu/smassh
        arch = any
        license = GPL-3.0
        depends = python
        depends = git
-       source = https://github.com/kraanzu/smassh/releases/download/v3.1.2/linux-smassh
-       sha256sums = SKIP
+       source = smassh-3.1.2::https://github.com/kraanzu/smassh/releases/download/v3.1.2/linux-smassh
+       sha256sums = 251576c3dc9ae25daf8df9541104bb98152284c6c3320d05112b54364abaf0e8

 pkgname = smassh
diff --git a/PKGBUILD b/PKGBUILD
index 3eb81f7..8d1121f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,23 +3,17 @@
 pkgname=smassh
 _pkgname=${pkgname}
 pkgver=3.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Smassh your Keyboard, TUI Edition"
 url="https://github.com/kraanzu/smassh"
 arch=('any')
 license=('GPL-3.0')
 depends=('python' 'git')
 makedepends=()
-source=("${url}/releases/download/v${pkgver}/linux-${pkgname}")
-sha256sums=('SKIP')
-
-prepare() {
-    cd "${srcdir}"
-    chmod +x "linux-${pkgname}"
-    mv "linux-${pkgname}" "${pkgname}"
-}
+source=("$pkgname-$pkgver::${url}/releases/download/v${pkgver}/linux-${pkgname}")
+sha256sums=('251576c3dc9ae25daf8df9541104bb98152284c6c3320d05112b54364abaf0e8')

 package() {
-    install -Dm0755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
+    install -Dm0755 "$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname"
 }

BTW, if you agree, I can co-maintain this package.