diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-21 01:44:27 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-21 01:44:27 +0300 |
commit | c0102642ee14d732743f2aeeddeacbd3ceb5f85b (patch) | |
tree | 9fd451880d287d13b63e7e8b723c9d944326a6c2 /PKGBUILD | |
download | nsxiv-yarps-c0102642ee14d732743f2aeeddeacbd3ceb5f85b.tar.gz nsxiv-yarps-c0102642ee14d732743f2aeeddeacbd3ceb5f85b.zip |
r28
with my own config
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8c5667b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Sanjay Pavan <tsppavan7@gmail.com> + +pkgname=nsxiv +_pkgname=nsxiv +pkgver=28 +pkgrel=1 +pkgdesc='Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer' +arch=('x86_64') +license=('GPL2') +conflicts=('nsxiv-git') +url='https://github.com/nsxiv/nsxiv' +depends=('imlib2' 'desktop-file-utils' 'xdg-utils' 'hicolor-icon-theme' 'libexif' 'libxft' 'giflib' 'libwebp') +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/nsxiv/nsxiv/archive/v$pkgver.tar.gz" +"config.h") +sha256sums=('38047f60e51854363dd98fb7b3bc9f1cfa9b7d6f9e8788508b6f1e317328dd75' +'38b5a6e5524f0570c68e0d8bde3917f3290a9883a7896a6ba6a2414c050b72c7') + +prepare() { + cp "$srcdir/config.h" "$srcdir/$_pkgname-$pkgver/" +} + +build() { + make -C "$_pkgname-$pkgver" +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install-all +} |