app-crypt/pdfcrack: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 25 Mar 2017 20:40:53 +0000 (23:40 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 25 Mar 2017 21:46:31 +0000 (00:46 +0300)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-crypt/pdfcrack/pdfcrack-0.15.ebuild

index 42626fefe7a938e9eac418085eec0960870768c7..206b6b4510de3b27bc83a72fd9929e4bcf272939 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=6
+
+inherit toolchain-funcs
 
 DESCRIPTION="Tool for recovering passwords and content from PDF-files"
 HOMEPAGE="http://pdfcrack.sourceforge.net/"
@@ -13,9 +14,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
-src_prepare() {
-       epatch "${FILESDIR}"/${PN}-0.14-cflags.patch
-}
+PATCHES=(
+       "${FILESDIR}/${PN}-0.14-cflags.patch"
+)
 
 src_compile() {
        emake CC="$(tc-getCC)"