diff options
author | Moritz Luedecke | 2017-09-25 16:20:36 +0200 |
---|---|---|
committer | Moritz Luedecke | 2017-09-25 16:20:36 +0200 |
commit | 1f68eab2dbf27a6ccbb339aaebececf142b5c6c0 (patch) | |
tree | c951147a9cd5abf6aa472422b9d41c79f8a16c0a | |
download | aur-1f68eab2dbf27a6ccbb339aaebececf142b5c6c0.tar.gz |
Init with version 0.1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2537412bad52 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = pinentry-dmenu + pkgdesc = A pinentry program with the charm of dmenu + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/ritze/pinentry-dmenu + arch = i686 + arch = x86_64 + license = GPL2 + depends = sh + depends = libxinerama + depends = libxft + source = https://github.com/ritze/pinentry-dmenu/archive/0.1.zip + sha256sums = 81432339d415b87b8e68bfde8048b689d92ef4c5c444d16589f5e60de59493ad + +pkgname = pinentry-dmenu + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..299c68c2dc9d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Moritz Lüdecke <ritze@skweez.net> +# Contributor: Håvard Pettersson <mail@haavard.me> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> +# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: Thayer Williams <thayer@archlinux.org> +# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org> + +pkgname=pinentry-dmenu +pkgver=0.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' 'libxinerama' 'libxft') +source=(https://github.com/ritze/pinentry-dmenu/archive/$pkgver.zip) +sha256sums=('81432339d415b87b8e68bfde8048b689d92ef4c5c444d16589f5e60de59493ad') + +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 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |