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.

32 lines
935 B

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