Skip to content

Commit

Permalink
adding new makedep check, gnupg 2.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
KdeOs committed Aug 19, 2013
1 parent 7b13092 commit 21b5e1a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
24 changes: 24 additions & 0 deletions check/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

pkgname=check
pkgver=0.9.10
pkgrel=1
pkgdesc="A unit testing framework for C"
arch=('x86_64')
url="http://check.sourceforge.net/"
license=('LGPL')
options=('!libtool')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('6d10a8efb9a683467b92b3bce97aeb30')

build() {
cd $pkgname-$pkgver

./configure --prefix=/usr --disable-static
make
}

package() {
cd $pkgname-$pkgver

make DESTDIR="$pkgdir" install
}
20 changes: 20 additions & 0 deletions check/check.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
_infodir=/usr/share/info
_filelist=(check.info)

post_install() {
[ -x usr/bin/install-info ] || return 0
for file in ${_filelist[@]}; do
install-info $_infodir/$file $_infodir/dir 2> /dev/null
done
}

post_upgrade() {
post_install $1
}

pre_remove() {
[ -x usr/bin/install-info ] || return 0
for file in ${_filelist[@]}; do
install-info --delete $_infodir/$file $_infodir/dir 2> /dev/null
done
}
4 changes: 2 additions & 2 deletions gnupg/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

pkgname=gnupg
pkgver=2.0.20
pkgver=2.0.21
pkgrel=1
pkgdesc="GNU Privacy Guard 2 - a PGP replacement tool"
arch=('x86_64')
Expand All @@ -14,7 +14,7 @@ provides=("gnupg2=${pkgver}")
replaces=('gnupg2')
source=("ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$pkgver.tar.bz2"
'protect-tool-env.patch')
md5sums=('9d18ee71bb0b10d40d1c8a393bdd7a89'
md5sums=('48c05f5dfe97cf21ae0ced811aaad750'
'7e5167aa042dbe18ab79d8b0df3f3cab')

build() {
Expand Down

0 comments on commit 21b5e1a

Please sign in to comment.