diff options
author | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-09-25 22:40:07 +0200 |
commit | 29fa855cdb2b02cb989fdd942382f2c404efbc29 (patch) | |
tree | fef3cc6d0ae050c12a08051b7f630ce0a8b2aad2 /featherweight | |
parent | Update e-mail address (diff) | |
download | aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.gz aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.bz2 aur-packages-29fa855cdb2b02cb989fdd942382f2c404efbc29.tar.xz |
add packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | featherweight/PKGBUILD | 29 | ||||
-rw-r--r-- | featherweight/featherweight.install | 20 | ||||
l--------- | featherweight/upload | 1 |
3 files changed, 50 insertions, 0 deletions
diff --git a/featherweight/PKGBUILD b/featherweight/PKGBUILD new file mode 100644 index 0000000..63daa50 --- /dev/null +++ b/featherweight/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com> + +pkgname=featherweight +pkgver=1428444876 +pkgrel=2 +pkgdesc="A lightweight news syndication aggregator for your terminal shell" +url="https://github.com/GNU-Pony/featherweight" +arch=(any) +license=(GPL3) +depends=(python3 coreutils wget pytagomacs html2text-with-utf8) +makedepends=(make coreutils python3 zip texinfo) +install=featherweight.install +source=("${url}/archive/${pkgver}.tar.gz") +sha256sums=(17e8031bec3a68171acc182d925a684b53a2f28c9275362b5592510c07fe2c3b) + + +build() { + cd "${srcdir}/featherweight-${pkgver}" + make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 +} + +package() { + cd "${srcdir}/featherweight-${pkgver}" + make PREFIX=/usr PY_MAJOR=3 PY_MINOR=4 DESTDIR="${pkgdir}" install + + _dir="${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf -- "/usr/share/licenses/common/GPL3" "${_dir}/LICENSE" +} + diff --git a/featherweight/featherweight.install b/featherweight/featherweight.install new file mode 100644 index 0000000..dff7792 --- /dev/null +++ b/featherweight/featherweight.install @@ -0,0 +1,20 @@ +_file="featherweight" + +infodir="usr/share/info" +file="${_file}.info" + + +post_install() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x "usr/bin/install-info" ]] || return 0 + install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null +} + diff --git a/featherweight/upload b/featherweight/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/featherweight/upload @@ -0,0 +1 @@ +../upload
\ No newline at end of file |