summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leontiev2021-06-26 16:57:13 +0300
committerAnton Leontiev2021-06-26 16:57:13 +0300
commitc9942d4844e0a8115bbf2ffd89b1991205c3c9ee (patch)
tree82a02d6f84f995ee69cfd84ddc11b24129bb55d4
parentf3899498855363e4d1b9d73661f6dda6a8ec9ba0 (diff)
downloadaur-awb.tar.gz
awb: Remove unavailable website sample
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
-rw-r--r--awb.install5
3 files changed, 6 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8bfdfeb8283..6feda4bcb07e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,16 @@
pkgbase = awb
pkgdesc = AsciiDoc Website Builder - build a website using AsciiDoc markup
pkgver = 0.3.5
- pkgrel = 1
+ pkgrel = 2
url = https://jared.henley.id.au/software/awb/
install = awb.install
arch = any
license = GPL
depends = python
depends = asciidoc
- noextract = awb-website.tar.bz2
- source = http://sourceforge.net/projects/awb/files/awb/0.3.5/awb-0.3.5.tar.bz2/download
- source = http://awb.sourceforge.net/awb-website.tar.bz2
+ source = https://jared.henley.id.au/software/awb/download/awb-0.3.5.tar.bz2
source = awb.conf
md5sums = b7f9bf1195b69f7186fa17c683b8fe49
- md5sums = e86f2250f14c44c62d26cbc7d8059db3
md5sums = d41ef48ff0f0dd585661eb6dec540c5e
pkgname = awb
-
diff --git a/PKGBUILD b/PKGBUILD
index 6218d0ec347a..e9ef1fa55aa6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,23 @@
# Contributor: greg+devel@marvid.fr
# Contributor: Jared Henley <multixrulz at users dot sourceforge dot net>
-# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
+# Contributor: Anton Leontiev <scileont /at/ gmail.com>
pkgname=awb
pkgver=0.3.5
-pkgrel=1
+pkgrel=2
pkgdesc="AsciiDoc Website Builder - build a website using AsciiDoc markup"
arch=('any')
url='https://jared.henley.id.au/software/awb/'
license=('GPL')
depends=('python' 'asciidoc')
install=awb.install
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2/download
- http://$pkgname.sourceforge.net/awb-website.tar.bz2
+source=(https://jared.henley.id.au/software/awb/download/$pkgname-$pkgver.tar.bz2
awb.conf)
-noextract=('awb-website.tar.bz2')
md5sums=('b7f9bf1195b69f7186fa17c683b8fe49'
- 'e86f2250f14c44c62d26cbc7d8059db3'
'd41ef48ff0f0dd585661eb6dec540c5e')
package() {
- install -dm755 "$pkgdir/usr/share/awb/sample"
- tar -xjf awb-website.tar.bz2 -C "$pkgdir/usr/share/awb/sample"
install -Dm645 awb.conf "$pkgdir/usr/share/awb/awb.conf"
cd $pkgname-$pkgver
install -Dm755 awb "$pkgdir/usr/bin/awb"
diff --git a/awb.install b/awb.install
index 7af1f05167e8..339a0c3a8f95 100644
--- a/awb.install
+++ b/awb.install
@@ -1,9 +1,6 @@
post_install() {
cat << EOF
-A sample site is available in /usr/share/awb/sample
-It is entirely built with awb
-
-A default configuration file is also available in /usr/share/awb/awb.conf
+A default configuration file is available in /usr/share/awb/awb.conf
To start building your website with it, create ${XDG_CONFIG}/awb directory and copy awb.conf there, then make the changes that you find suitable.
You might like to visit :