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

recipes/utils/unixodbc/PAGBUILD.yaml main

28 linii Raw ← Powrót
12345678910111213141516171819202122232425262728
pkgname: unixodbc
pkgver: '2.3.14'
pkgrel: '1'
pkgdesc: Providing application developers a predictable API with which to access Data Sources
url: 'https://www.unixodbc.org/'
arch: x86_64
depends: []
makedepends: []
source:
- 'ftp://ftp.unixodbc.org/pub/unixODBC/unixODBC-${pkgver}.tar.gz'
sha256sums:
- 4e2814de3e01fc30b0b9f75e83bb5aba91ab0384ee951286504bb70205524771
build: |
  cd unixODBC-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc/unixODBC \
  --enable-gui=no
  make
package: |
  cd unixODBC-${pkgver}
  make DESTDIR=${PKGDIR} install
  find doc -name "Makefile*" -delete
  chmod 644 doc/{lst,ProgrammerManual/Tutorial}/*

  install -vm755 -d /usr/share/doc/unixODBC
  cp -vR doc/* /usr/share/doc/unixODBC

  # Obsolets libs
  rm -f ${PKGDIR}/usr/lib/libodbc{,cr,inst}.la