[arch-commits] Commit in ebook-tools/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Nov 8 20:48:00 UTC 2018
Date: Thursday, November 8, 2018 @ 20:47:59
Author: jelle
Revision: 338419
archrelease: copy trunk to extra-x86_64
Added:
ebook-tools/repos/extra-x86_64/PKGBUILD
(from rev 338418, ebook-tools/trunk/PKGBUILD)
Deleted:
ebook-tools/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-11-08 20:47:43 UTC (rev 338418)
+++ PKGBUILD 2018-11-08 20:47:59 UTC (rev 338419)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-
-pkgname=ebook-tools
-pkgver=0.2.2
-pkgrel=4
-pkgdesc="Tools for accessing and converting various ebook file formats"
-arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/ebook-tools/"
-license=('custom')
-depends=('libzip' 'libxml2' 'convertlit')
-makedepends=('pkgconfig' 'cmake')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('67bce67ceb72dcc3578d6a81ef92b29b')
-
-build() {
- cd "${srcdir}"
-
- mkdir build
- cd build
- cmake ../${pkgname}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
- make
-}
-
-package() {
- cd "${srcdir}/build"
-
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 ${srcdir}/${pkgname}-${pkgver}/LICENSE \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: ebook-tools/repos/extra-x86_64/PKGBUILD (from rev 338418, ebook-tools/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-11-08 20:47:59 UTC (rev 338419)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=ebook-tools
+pkgver=0.2.2
+pkgrel=5
+pkgdesc="Tools for accessing and converting various ebook file formats"
+arch=(x86_64)
+url="https://sourceforge.net/projects/ebook-tools/"
+license=(custom)
+depends=(libzip libxml2 convertlit)
+makedepends=(cmake)
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
+ -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list