PKGBUILD 975 B

1234567891011121314151617181920212223242526272829
  1. # Maintainer(Arch) : Artur Juraszek <artur@juraszek.xyz>
  2. # Ex-Maintainer : Gonzalo Ciruelos <gonzalo.ciruelos@gmail.com>
  3. # Ex-Maintainer : TheWaffleGuy <gvxq@hotmail.com>
  4. # Contributor : Nicolas Floquet <nicolasfloquet AT gmail DOT com>
  5. # Maintainer : Sagar Acharya <sagaracharya@tutanota.com>
  6. pkgname=e2tools
  7. pkgver=0.1.0
  8. pkgrel=1
  9. pkgdesc="A simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem."
  10. arch=('i686' 'x86_64')
  11. url="https://github.com/e2tools/e2tools"
  12. license=('GPL-2')
  13. depends=('e2fsprogs')
  14. options=(!buildflags)
  15. source=("${url}/releases/download/v${pkgver}/e2tools-${pkgver}.tar.gz")
  16. sha512sums=('5fde992727946d253acd46987944bdf49615d2ab45bbea715c86b304d117c6900dd70fcffb093f3d564247e27978b78b4710e7fea7ffd28375e804955fe4d5c9')
  17. build() {
  18. cd "${srcdir}/${pkgname}-${pkgver}"
  19. ./configure --prefix=/usr
  20. make CPPFLAGS="-Wall"
  21. }
  22. package() {
  23. cd "${srcdir}/${pkgname}-${pkgver}"
  24. make DESTDIR="${pkgdir}/" install
  25. }