mirror of
https://github.com/alrayyes/pinentry-dmenu
synced 2023-11-14 01:56:34 +00:00
34 lines
793 B
Bash
34 lines
793 B
Bash
# Maintainer: Ryan Kes <alrayyes@gmail.com>
|
|
|
|
pkgname=pinentry-dmenu
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="A pinentry program with the charm of dmenu"
|
|
url="https://github.com/ritze/pinentry-dmenu"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL2')
|
|
depends=('sh' 'libconfig' 'libxinerama' 'libxft')
|
|
provides=('pinentry')
|
|
source=(https://github.com/ritze/pinentry-dmenu/archive/$pkgver.zip)
|
|
sha256sums=('c3150ef052ab3362155a0f69da91221fe5ec27a2cddafe0ce1298a026acab63e')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
# to use a custom config.h, place it in the package directory
|
|
if [[ -f ${SRCDEST}/config.h ]]; then
|
|
cp "${SRCDEST}/config.h" .
|
|
fi
|
|
}
|
|
|
|
build(){
|
|
cd $pkgname-$pkgver
|
|
make \
|
|
X11INC=/usr/include/X11 \
|
|
X11LIB=/usr/lib/X11
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make PREFIX=/usr DESTDIR="$pkgdir" install
|
|
}
|