diff --git a/app/crypt/pinentry/ympbuild b/app/crypt/pinentry/ympbuild new file mode 100644 index 00000000..347e9c45 --- /dev/null +++ b/app/crypt/pinentry/ympbuild @@ -0,0 +1,39 @@ +#!/usr/bin/env bash +name='pinentry' +release='1' +version='1.2.1' +url='https://gnupg.org/related_software/pinentry/' +description='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPL') +source=("https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-${version}.tar.bz2"{,.sig}) +depends=(libassuan libgpg-error) +makedepends=() +md5sums=('be9b0d4bb493a139d2ec20e9b6872d37' 'SKIP') +group=(app.crypt) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --enable-pinentry-tty \ + --enable-pinentry-curses \ + --enable-fallback-curses \ + --enable-pinentry-emacs \ + --enable-pinentry-gtk3 \ + --enable-pinentry-gnome3 \ + --enable-libsecret +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR="${DESTDIR}" install $jobs +} + diff --git a/app/vim/gnupg/ympbuild b/app/vim/gnupg/ympbuild new file mode 100644 index 00000000..355e717e --- /dev/null +++ b/app/vim/gnupg/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='gnupg' +release='1' +version='2.4.0' +url='https://www.gnupg.org/' +description='Complete and free implementation of the OpenPGP standard' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv3' 'BSD' 'custom' 'GPL2' 'LGPL3' 'GPL2.1' 'MIT') +source=("https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-$version.tar.bz2") +depends=(libassuan libgcrypt libksba npth gnutls pinentry) +makedepends=() +md5sums=('1a9dd55be7a9d0a6ef34ec3ba0d674a5') +group=(app.vim) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} + diff --git a/dev/libs/libassuan/ympbuild b/dev/libs/libassuan/ympbuild new file mode 100644 index 00000000..de62ec37 --- /dev/null +++ b/dev/libs/libassuan/ympbuild @@ -0,0 +1,36 @@ +#!/usr/bin/env bash +name='libassuan' +release='1' +version='2.5.5' +url='https://www.gnupg.org/related_software/libassuan/' +description='IPC library used by some GnuPG related software' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPLv3') +source=(https://gnupg.org/ftp/gcrypt/${name}/${name}-${version}.tar.bz2{,.sig}) +depends=(glibc libgpg-error) +makedepends=() +md5sums=('7194453152bb67e3d45da698762b5d6f' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR="$DESTDIR" install -C ../$name-$version $jobs + install -vDm 644 ./AUTHORS -t "$DESTDIR/usr/share/doc/$name/" + install -vDm 644 ./NEWS -t "$DESTDIR/usr/share/doc/$name/" + install -vDm 644 ./README -t "$DESTDIR/usr/share/doc/$name/" + install -vDm 644 ./ChangeLog -t "$DESTDIR/usr/share/doc/$name/" +} + diff --git a/dev/libs/libgcrypt/ympbuild b/dev/libs/libgcrypt/ympbuild new file mode 100644 index 00000000..9d1c9a6f --- /dev/null +++ b/dev/libs/libgcrypt/ympbuild @@ -0,0 +1,38 @@ +#!/usr/bin/env bash +name='libgcrypt' +release='1' +version='1.10.1' +url='https://www.gnupg.org' +description='General purpose cryptographic library based on the code from GnuPG' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=(https://gnupg.org/ftp/gcrypt/${name}/${name}-${version}.tar.bz2{,.sig}) +depends=(libgpg-error) +makedepends=() +md5sums=('8fadbe1fddafa341dce5ef3869f70e25' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +sed -i "s:t-secmem::" tests/Makefile.am +sed -i "s:t-sexp::" tests/Makefile.am + +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ \ + --disable-static \ + --disable-padlock-support +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR=${DESTDIR} install $jobs +} + diff --git a/dev/libs/libgpg-error/ympbuild b/dev/libs/libgpg-error/ympbuild new file mode 100644 index 00000000..40842a5b --- /dev/null +++ b/dev/libs/libgpg-error/ympbuild @@ -0,0 +1,33 @@ +#!/usr/bin/env bash +name='libgpg-error' +release='1' +version='1.46' +url='https://www.gnupg.org/' +description='Support library for libgcrypt' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL') +source=(https://www.gnupg.org/ftp/gcrypt/libgpg-error/${name}-${version}.tar.bz2{,.sig}) +depends=(glibc ) +makedepends=() +md5sums=('db41efe5aba3baad6cf266fea720095d' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + autoreconf -vfi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR=$DESTDIR install $jobs +} + diff --git a/dev/libs/libksba/ympbuild b/dev/libs/libksba/ympbuild new file mode 100644 index 00000000..ab03f842 --- /dev/null +++ b/dev/libs/libksba/ympbuild @@ -0,0 +1,32 @@ +#!/usr/bin/env bash +name='libksba' +release='1' +version='1.6.3' +url='https://www.gnupg.org/related_software/libksba/' +description='Library for working with X.509 certificates, CMS data and related objects' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('GPL') +source=("https://www.gnupg.org/ftp/gcrypt/${name}/${name}-${version}.tar.bz2"{,.sig}) +depends=(glibc libgpg-error) +makedepends=() +md5sums=('65683abfe7175e3cb19fb6f40175fea8' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR=${DESTDIR} install $jobs +} + diff --git a/dev/libs/npth/ympbuild b/dev/libs/npth/ympbuild new file mode 100644 index 00000000..fa3b4f8e --- /dev/null +++ b/dev/libs/npth/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='npth' +release='1' +version='1.6' +url='https://www.gnupg.org/software/npth/index.html' +description='The new GNU portable threads library' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('LGPL2.1') +source=(https://www.gnupg.org/ftp/gcrypt/$name/$name-$version.tar.bz2{,.sig}) + #https://www.gnupg.org/ftp/gcrypt/npth/npth-1.6.tar.bz2 +depends=(glibc) +makedepends=() +md5sums=('375d1a15ad969f32d25f1a7630929854' 'SKIP') +group=(dev.libs) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + autoreconf -fvi + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR="${DESTDIR}" install $jobs + install -vDm 644 ./{README,NEWS,ChangeLog} -t "$DESTDIR/usr/share/doc/$name/" +} + diff --git a/x11/apps/xorg-xedit/ympbuild b/x11/apps/xorg-xedit/ympbuild new file mode 100644 index 00000000..2d67bd05 --- /dev/null +++ b/x11/apps/xorg-xedit/ympbuild @@ -0,0 +1,34 @@ +#!/usr/bin/env bash +name='xedit' +release='1' +version='1.2.3' +url='https://xorg.freedesktop.org/' +description='Simple text editor for X' +email='akarsu@protonmail.com' +maintainer='akarsu' +license=('custom') +source=(https://xorg.freedesktop.org/archive/individual/app/xedit-$version.tar.xz{,.sig}) +depends=( libXaw libXmu libXt libX11) +makedepends=(util-macros) +md5sums=('6c62e9d4e628259fe34f3018cd54873c' + 'ff19eef1f5674192d421e877a643e56e') +group=(x11.apps) +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64/ +} + +build(){ + make $jobs +} + +package(){ + make DESTDIR="$DESTDIR" install $jobs + install -Dm644 COPYING "$DESTDIR/usr/share/licenses/$name/COPYING" +} +