mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 15:42:45 +01:00
checkpassword-0.90-1
This commit is contained in:
parent
9a23663541
commit
ea4ebe249a
2 changed files with 24 additions and 20 deletions
3
.SRCINFO
3
.SRCINFO
|
|
@ -1,12 +1,11 @@
|
|||
pkgbase = checkpassword
|
||||
pkgdesc = A simple, uniform password-checking interface to all root applications.
|
||||
pkgdesc = A simple, uniform password-checking interface to all root applications
|
||||
pkgver = 0.90
|
||||
pkgrel = 1
|
||||
url = http://cr.yp.to/checkpwd.html
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = custom: as-is
|
||||
depends = glibc
|
||||
source = http://cr.yp.to/checkpwd/checkpassword-0.90.tar.gz
|
||||
md5sums = e75842e908f96571ae56c3da499ba1fc
|
||||
|
||||
|
|
|
|||
41
PKGBUILD
41
PKGBUILD
|
|
@ -1,30 +1,35 @@
|
|||
# $Id: PKGBUILD 4654 2008-07-08 08:58:05Z ronald $
|
||||
# Maintainer: eric <eric@archlinux.org>
|
||||
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: eric <eric@archlinux.org>
|
||||
# Contributor: Manolis Tzanidakis
|
||||
#
|
||||
|
||||
pkgname=checkpassword
|
||||
pkgver=0.90
|
||||
pkgrel=1
|
||||
pkgdesc="A simple, uniform password-checking interface to all root applications."
|
||||
pkgdesc="A simple, uniform password-checking interface to all root applications"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://cr.yp.to/checkpwd.html"
|
||||
depends=('glibc')
|
||||
source=(http://cr.yp.to/checkpwd/$pkgname-$pkgver.tar.gz)
|
||||
license=('custom: as-is')
|
||||
source=(http://cr.yp.to/checkpwd/$pkgname-$pkgver.tar.gz)
|
||||
md5sums=('e75842e908f96571ae56c3da499ba1fc')
|
||||
|
||||
build() {
|
||||
cd $startdir/src/$pkgname-$pkgver
|
||||
|
||||
# fix errno.h in glibc-2.3.x
|
||||
/bin/sed -i "s:extern int errno;:#include <errno.h>:" error.h
|
||||
/bin/echo "gcc ${CFLAGS}" > conf-cc
|
||||
/usr/bin/make || return 1
|
||||
/bin/install -D -m 755 checkpassword $startdir/pkg/usr/bin/checkpassword
|
||||
prepare() {
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
# install copyright notice
|
||||
install -Dm644 $srcdir/$pkgname-$pkgver/README \
|
||||
$pkgdir/usr/share/licenses/$pkgname/README
|
||||
# fix errno.h in glibc-2.3.x
|
||||
sed -i "s:extern int errno;:#include <errno.h>:" error.h
|
||||
echo "gcc ${CFLAGS}" > conf-cc
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
|
||||
install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
|
||||
#license
|
||||
install -Dm644 README "${pkgdir}"/usr/share/licenses/$pkgname/README
|
||||
}
|
||||
# vim: ts=2: ft=sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue