Package Details: ssg5 1-2

Git Clone URL: https://aur.archlinux.org/ssg5.git (read-only, click to copy)
Package Base: ssg5
Description: static site generator written on POSIX shell
Upstream URL: https://www.romanzolotarev.com
Licenses: ISC
Submitter: Inco
Maintainer: Inco
Last Packager: Inco
Votes: 2
Popularity: 0.016398
First Submitted: 2020-07-20 17:13
Last Updated: 2020-11-22 23:14

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

Hekuran commented on 2021-03-10 12:31

I updated this package, here is the patch: https://pastebin.com/raw/ENLSt7vD

I also make a new package SSG which shall have the latest version.

diff --git a/PKGBUILD b/PKGBUILD
index 8d9b0bd..b9a919b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,20 @@
 # Maintainer: Brandon 'Inco' Little <drinco@posteo.net>
+# Contributor: Hekuran Gashi <hekurangashi@pm.me>
+
 pkgname=ssg5
 pkgver=1
-pkgrel=2
+pkgrel=3
 pkgdesc='static site generator written on POSIX shell'
-
 arch=('any')
 license=('ISC')
-depends=('cpio')
-
-url=https://www.romanzolotarev.com
-md5sums=('abf6c59327e7649a85cffaf95b904def')
-source=($url/bin/ssg5)
+depends=('lowdown' 'cpio')
+provides=('ssg')
+conflicts=('ssg')
+url='https://www.romanzolotarev.com'
+source=("$url/bin/ssg5"
+        "$url/bin/Markdown.pl")
+md5sums=("abf6c59327e7649a85cffaf95b904def"
+         "7ec2474d8650b25bba541fb4b7c43186")

 build() {
    cd "$srcdir/$distdir"
@@ -21,6 +25,9 @@ package() {
    cd "$srcdir/$distdir"
    install -d "$pkgdir"/usr/bin/
    install -d "$pkgdir"/usr/share/licenses/$pkgname
-   install -m755 ssg5    "$pkgdir"/usr/bin/ssg5
+   install -m755 ssg5 "$pkgdir"/usr/bin/ssg5
+   install -m755 Markdown.pl "$pkgdir"/usr/bin/Markdown.pl
    install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
+
+# vim: ts=4 sw=4

(use patch -l to ignore white-space diff)

Lollieisenbrot commented on 2021-01-16 21:23

I’m not too familiar with package building and dependencies on Arch. You may want to add lowdown and markdown.pl as optional dependencies. One of those is necessary to convert Markdown to HTML.

Inco commented on 2020-11-22 23:18

@SZanko your suggestions have been implemented, please let me know if the new release has any errors on make, I don't have access to an Arch installation at the moment

SZanko commented on 2020-11-22 22:43

Please update the Checksum to abf6c59327e7649a85cffaf95b904def and change the license to ISC

SZanko commented on 2020-11-21 17:01

Please add cpio https://www.archlinux.org/packages/extra/x86_64/cpio/ as dependency

Inco commented on 2020-07-20 19:50

@caltlgin ssg5 is a POSIX shell script, not a (pre-)compiled binary