You are not logged in.
Pages: 1
I'm tray to make package for Keepass/L
pkgname=keepass
pkgver=0.1.2
pkgrel=1
pkgdesc="A password manager or safe which helps you to manage your passwords in a secure way."
url="http://keepass.berlios.de/"
license="GPL"
depends=('qt')
makedepends=('')
conflicts=()
replaces=()
backup=()
install=
source=(http://download.berlios.de/keepass/$pkgname-$pkgver.tar.gz)
md5sums=('6757e737192d12c4947c02ab9489b7b0')
build() {
cd $startdir/src/$pkgname
qmake
make || return 1
make DESTDIR=$startdir/pkg install
}
But I see following lines in makepkg output:
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
And i see epmty /var/abs/local/keepass/pkg folder
It's Makefile:
#############################################################################
# Makefile for building: keepass
# Generated by qmake (1.07a) (Qt 3.3.5) on: Sat Nov 12 18:23:18 2005
# Project: keepass.pro
# Template: subdirs
# Command: $(QMAKE) -o Makefile keepass.pro
#############################################################################MAKEFILE = Makefile
QMAKE = qmake
DEL_FILE = rm -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
INSTALL_FILE=
INSTALL_DIR =
SUBTARGETS =
sub-src
first: all
all: Makefile $(SUBTARGETS)
src/$(MAKEFILE):
@$(CHK_DIR_EXISTS) "src" || $(MKDIR) "src"
cd src && $(QMAKE) src.pro -o $(MAKEFILE)
sub-src: src/$(MAKEFILE) FORCE
cd src && $(MAKE) -f $(MAKEFILE)
Makefile: keepass.pro /opt/qt/mkspecs/linux-g++/qmake.conf
$(QMAKE) -o Makefile keepass.pro
qmake: qmake_all
@$(QMAKE) -o Makefile keepass.pro
all: $(SUBTARGETS)
qmake_all: src/$(MAKEFILE)
( [ -d src ] && cd src ; grep "^qmake_all:" $(MAKEFILE) && $(MAKE) -f $(MAKEFILE) qmake_all; ) || true
clean uicables mocables uiclean mocclean lexclean yaccclean : qmake_all FORCE
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; ) || true
uninstall_subdirs: qmake_all FORCE
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) uninstall; ) || true
install_subdirs: qmake_all FORCE
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) install; ) || true
distclean: qmake_all FORCE
( [ -d src ] && cd src ; $(MAKE) -f $(MAKEFILE) $@; $(DEL_FILE) $(MAKEFILE); ) || true
install: install_subdirs
uninstall: uninstall_subdirs
FORCE:
Offline
The make install is failing, because the makefile doesn't use DESTDIR to determine where to put the files, and so it's trying to install directly to your filesystem, which (hopefully) you're building as a user and don't have permission to access.
My make install failed because it couldn't make /usr/local/share/keepass
Offline
PKGBUILD:
pkgname=keepass
pkgver=0.1.2
pkgrel=1
pkgdesc="A password manager or safe which helps you to manage your passwords in a secure way."
url="http://keepass.berlios.de/"
license="GPL"
depends=('qt')
makedepends=('')
conflicts=()
replaces=()
backup=()
install=
source=(http://download.berlios.de/keepass/$pkgname-$pkgver.tar.gz)
md5sums=('6757e737192d12c4947c02ab9489b7b0')
build() {
cd $startdir/src/$pkgname
qmake
make || return 1
make INSTALL_ROOT=$startdir/pkg install || return 1
mv $startdir/pkg/usr/local/* $startdir/pkg/usr
rm $startdir/pkg/usr/local -r
}
By the way, thanks for pointing out KeePass was available for Linux... I was using it in windows before I made the switch to Arch and forgot to look-see if it was ported.. I was considering trying to run it in wine this weekend, actually.
Offline
Thanks.
Offline
See updated pkg for v0.1.3 in AUR keepass 0.1.3
Offline
Pages: 1