diff options
author | Can Altıparmak | 2021-04-02 21:16:18 +0300 |
---|---|---|
committer | Can Altıparmak | 2021-04-02 21:16:18 +0300 |
commit | c899cd025f91e1da6aeb6c3fe60df0361da6911f (patch) | |
tree | 5d5750f7289e21937b7b59459eb1e4337051bf8f | |
parent | 73f4cedde836a52ad28ebf34c2feb9e9eedf7037 (diff) | |
download | aur-c899cd025f91e1da6aeb6c3fe60df0361da6911f.tar.gz |
Update package and add warning
-rw-r--r-- | .SRCINFO | 8 | ||||
-rwxr-xr-x | PKGBUILD | 11 | ||||
-rw-r--r-- | atdtool.install | 11 |
3 files changed, 20 insertions, 10 deletions
@@ -1,14 +1,14 @@ pkgbase = atdtool pkgdesc = After the Deadline command-line tool. - pkgver = 1.3 + pkgver = 1.3.3 pkgrel = 1 url = https://github.com/lpenz/atdtool + install = atdtool.install arch = any license = BSD - makedepends = txt2tags depends = python2 - source = https://github.com/lpenz/atdtool/archive/upstream/1.3.tar.gz - md5sums = f20ce3822ff1dc0e7cae235340d0d3ad + source = https://github.com/lpenz/atdtool/archive/upstream/1.3.3.tar.gz + md5sums = 3c8f00073bc5720dd029ab09fb4a1907 pkgname = atdtool @@ -1,26 +1,25 @@ # Maintainer: Can Altıparmak (gulaghad) <can6parmak <AT> gmail <DOT> com> pkgname=atdtool -pkgver='1.3' +pkgver='1.3.3' pkgrel=1 pkgdesc="After the Deadline command-line tool." arch=('any') url="https://github.com/lpenz/atdtool" license=('BSD') depends=('python2') -makedepends=('txt2tags') source=("https://github.com/lpenz/atdtool/archive/upstream/$pkgver.tar.gz") -md5sums=('f20ce3822ff1dc0e7cae235340d0d3ad') +md5sums=('3c8f00073bc5720dd029ab09fb4a1907') +install="${pkgname}.install" build() { cd "${srcdir}/${pkgname}-upstream-${pkgver}" - make + python2 setup.py build } package() { cd "${srcdir}/${pkgname}-upstream-${pkgver}" - make PREFIX="$pkgdir/usr" install - sed -i 's/python/python2/g' "$pkgdir/usr/bin/$pkgname" + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build mkdir -p "$pkgdir/usr/share/licenses/$pkgname" install -D -m644 "${srcdir}/${pkgname}-upstream-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/atdtool.install b/atdtool.install new file mode 100644 index 000000000000..c9e49c099ae3 --- /dev/null +++ b/atdtool.install @@ -0,0 +1,11 @@ +post_install() { + echo -e "\e[31mWARNING:\e[0m service.afterthedeadline.com does not respond anymore." + echo -e "You may try \e[1mpylanguagetool-git\e[0m as an alternative. + " +} + +post_upgrade() { + echo -e "\e[31mWARNING:\e[0m service.afterthedeadline.com does not respond anymore." + echo -e "You may try \e[1mpylanguagetool-git\e[0m as an alternative. + " +} |