diff options
author | mananapr | 2019-08-10 14:14:44 +0530 |
---|---|---|
committer | mananapr | 2019-08-10 14:14:44 +0530 |
commit | 2a15f682a53c060bf666cf82645da6c6028638b6 (patch) | |
tree | 84d12c38b40231e54b0b08fd73c61cb8ef805dd8 | |
parent | 7de0dce0ebf47ab73cba007be1e282288e357796 (diff) | |
download | aur-2a15f682a53c060bf666cf82645da6c6028638b6.tar.gz |
Added post install script
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | cfiles.install | 3 |
3 files changed, 7 insertions, 3 deletions
@@ -1,8 +1,9 @@ pkgbase = cfiles pkgdesc = A ncurses file manager written in C pkgver = 1.8 - pkgrel = 1 + pkgrel = 2 url = https://github.com/mananapr/cfiles/ + install = cfiles.install arch = x86_64 license = MIT depends = ncurses @@ -2,7 +2,7 @@ pkgname=cfiles pkgver=1.8 -pkgrel=1 +pkgrel=2 pkgdesc="A ncurses file manager written in C" arch=('x86_64') url="https://github.com/mananapr/cfiles/" @@ -14,6 +14,7 @@ optdepends=('mediainfo: to see media info' 'poppler: for pdf previews' 'w3m: for image previews') source=("$pkgname-$pkgver.tar.gz::https://github.com/mananapr/cfiles/archive/v${pkgver}.tar.gz") +install="cfiles.install" sha256sums=('c5f8111df59496aafd817af0b7c7dcf7177bc4baa84b03ddf0912ef69f4be8f6') build(){ @@ -37,5 +38,4 @@ package() { install -Dm755 scripts/displayimg_uberzug "$pkgdir/usr/share/cfiles/scripts/displayimg_uberzug" install -Dm755 scripts/clearimg "$pkgdir/usr/share/cfiles/scripts/clearimg" install -Dm755 scripts/clearimg_uberzug "$pkgdir/usr/share/cfiles/scripts/clearimg_uberzug" - echo "The data directory was shifted to XDG_CONFIG_HOME(~/.config/cfiles) in v1.8 so make sure to copy your old bookmarks and scripts to the new directory" } diff --git a/cfiles.install b/cfiles.install new file mode 100644 index 000000000000..6e69013c1893 --- /dev/null +++ b/cfiles.install @@ -0,0 +1,3 @@ +post_upgrade() { + echo "The data directory was shifted to XDG_CONFIG_HOME(~/.config/cfiles) in v1.8 so make sure to copy your old bookmarks and scripts to the new directory" +} |