my-pkgs/rofi-pass/PKGBUILD

24 lines
976 B
Bash
Raw Normal View History

2022-07-08 08:19:02 +00:00
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Lex Black <autumn-wind at web dot de>
pkgname=rofi-pass
pkgver=2.0.2
pkgrel=3
pkgdesc="bash script to handle pass storages in a convenient way"
arch=('any')
url='https://github.com/carnager/rofi-pass'
license=('GPL')
depends=('xdg-utils' 'rofi' 'gawk' 'pass' 'pwgen' 'xdotool' 'xclip')
optdepends=('pass-otp: for OTP support')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/carnager/${pkgname}/archive/${pkgver}.tar.gz rofi-pass.patch)
sha512sums=('28f59696911089c31b3f17bde281e3d79c3f757ecc4da61386719c6cff9b31c0944a2ac549d7838f06c249d4535c0dc107ba684115f15db42a24bfdb2f575437'
'd04dd33cec5d0d3ff4589877ced9286d57b7ff718e4af3554fb6fffafa04073a737dc2d9de5a405e51e65621d16f1c3af4f9dd2bde54ece3e3c4786660b0ee38')
prepare() {
patch -i rofi-pass.patch "${srcdir}/${pkgname}-${pkgver}/rofi-pass"
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" PREFIX="/usr" install
}