summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkeysym2021-08-15 09:42:38 -0300
committerkeysym2021-08-15 09:42:38 -0300
commita5b4a1376354f6f9101e0cf30a0bdec3e1882329 (patch)
tree39054be81ea64114718d139b92f2aea761d58e96
parentd567c8021bf43f7f58b4559dedf35de5f029d46c (diff)
downloadaur-a5b4a1376354f6f9101e0cf30a0bdec3e1882329.tar.gz
Add Debian patches license
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d7214ac8fe0..4070355005b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,8 @@ pkgbase = rephrase
url = https://packages.debian.org/sid/rephrase
arch = i686
arch = x86_64
- license = GPL3
+ license = GPL3,
+ license = GPL2
depends = gnupg
optdepends = cryptsetup: can recover Cryptsetup/LUKS passphrases
source = http://deb.debian.org/debian/pool/main/r/rephrase/rephrase_0.2.orig.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index b83181befc38..f7c288b27e11 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ arch=('i686' 'x86_64')
url='https://packages.debian.org/sid/rephrase'
depends=('gnupg')
optdepends=('cryptsetup: can recover Cryptsetup/LUKS passphrases')
-license=('GPL3')
+license=('GPL3', 'GPL2')
source=("http://deb.debian.org/debian/pool/main/r/rephrase/${pkgname}_${pkgver}.orig.tar.gz"
"http://deb.debian.org/debian/pool/main/r/rephrase/${pkgname}_${pkgver}-${_debianrel}.debian.tar.xz")
md5sums=('d73b9b30194f3ebbf92f19737a62ddfa'
@@ -30,7 +30,7 @@ build() {
package() {
cd ${pkgname}-${pkgver}
make BINDIR="${pkgdir}/usr/bin" DESTDIR="${pkgdir}" install
- install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 COPYING ../debian/copyright -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
}