2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Şifre yöneticisi
|
2017-04-25 21:51:27 +02:00
|
|
|
|
# URL: http://www.keepassx.org/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: qt4 libgcrypt
|
2017-04-25 21:51:27 +02:00
|
|
|
|
|
|
|
|
|
name=keepassx2
|
|
|
|
|
version=2.0.3
|
|
|
|
|
release=1
|
|
|
|
|
source=(https://github.com/keepassx/keepassx/archive/$version.tar.gz)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-04-25 21:51:27 +02:00
|
|
|
|
|
|
|
|
|
pushd */
|
|
|
|
|
sed -r 's|(keepassx)|\12|g' -i CMakeLists.txt share/linux/keepassx.desktop
|
|
|
|
|
sed -r 's|(keepassx)(\.desktop\|\.xml)|\12\2|g' -i share/CMakeLists.txt
|
|
|
|
|
sed -r 's|(KeePassX)|\1 2|g' -i share/linux/keepassx.desktop
|
|
|
|
|
rename 'keepassx' 'keepassx2' share/linux/keepassx.{desktop,xml}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
|
cmake ../*-$version/ \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
|
-DCMAKE_INSTALL_BINDIR=/usr/bin \
|
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
|
|
|
-DCMAKE_VERBOSE_MAKEFILE=OFF \
|
|
|
|
|
-DWITH_TESTS=OFF
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
rename keepassx keepassx2 $PKG/usr/share/icons/hicolor/*/*/keepassx.png
|
|
|
|
|
}
|