summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8837d22d749a34e3757f90397a218fd9a8a94659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: taotieren <admin@taotieren.com>

pkgname=extundelete
pkgver=0.2.4
pkgrel=2
arch=('any')
url="http://${pkgname}.sourceforge.net/"
license=('GPL2')
pkgdesc="extundelete is a utility that can recover deleted files from an ext3 or ext4 partition."
depends=('glibc' 'e2fsprogs')
provides=()
conflicts=(${pkgname})
#replaces=(${pkgname})
makedepends=()
backup=()
options=('!strip')
#install=${pkgname}.install
groups=()
source=("${pkgname}-${pkgver}.tar.bz2::https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
    "${pkgname}-${pkgver}-e2fsprogs.patch::https://sourceforge.net/p/${pkgname}/tickets/5/attachment/${pkgname}-${pkgver}-e2fsprogs.patch.txt")
sha256sums=('a1f9dd61247056d36401ce5d6785e74d08a184340eebd3865c345ddaa93f19f4'
            '4304dc55d3881ed66017276e0553d7c0bde3384f62b3a9f50a34547ddcad04a8')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"

    patch -p1 < "${srcdir}/${pkgname}-${pkgver}-e2fsprogs.patch"

    ./configure
    make
}

package () {
    install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/src/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}