🔒 Repository is read-only – file editing is disabled.

recipes/utils/ebook-tools/PAGBUILD.yaml main

35 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435
pkgname: 'ebook-tools'
pkgver: '0.2.2'
pkgrel: '5'
pkgdesc: 'Tools for accessing and converting various ebook file formats'
url: 'https://sourceforge.net/projects/ebook-tools/'
arch: x86_64
depends: []
makedepends:
- cmake
- libxml2
- libzip

source:
- 'https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd .
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver}        \
      -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_POLICY_VERSION_MINIMUM=3.5

  make
  make DESTDIR=${PKGDIR} install

  install -Dm644 ./${pkgname}-${pkgver}/LICENSE \
       ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE

package: |
  true