Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
866 B

  1. pkgname=libetc
  2. pkgver=0.4
  3. pkgrel=1
  4. pkgdesc='Redirect all dotfile calls from $HOME to $XDG_CONFIG_HOME, following the freedesktop standard'
  5. arch=(any)
  6. url='http://ordiluc.net/fs/libetc/'
  7. license=(GPL)
  8. makedepends=('make')
  9. depends=('glibc')
  10. source=(http://ordiluc.net/fs/libetc/libetc-0.4.tar.gz
  11. patch_add_missing_header.patch)
  12. prepare() {
  13. cd "${srcdir}/${pkgname}-${pkgver}"
  14. patch -p1 < ../patch_add_missing_header.patch
  15. }
  16. build() {
  17. cd "${srcdir}/${pkgname}-${pkgver}"
  18. make
  19. }
  20. package() {
  21. mkdir -p "${pkgdir}"/usr/lib/
  22. install -m 755 "${srcdir}/${pkgname}-${pkgver}"/libetc.so.0.4 "${pkgdir}"/usr/lib/
  23. ln -s "${pkgdir}"/usr/lib/libetc.so.0.4 "${pkgdir}"/usr/lib/libetc.so.0
  24. ln -s "${pkgdir}"/usr/lib/libetc.so.0 "${pkgdir}"/usr/lib/libetc.so
  25. }
  26. md5sums=('d72901834a7246c871f5985a30940f4c'
  27. '6da0618a7305075a31253cc0a8e3e4c1')