summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Viljanen2020-02-20 01:03:51 +0200
committerMatti Viljanen2020-02-20 01:12:24 +0200
commit63cd6c6fc05cd18878e6bb05def72856c847975e (patch)
tree20f52cc3d86baa63383b77b0eea4a5041f7aecb1
parent67861e875dc92dabca6a98912fa05df41ae65b11 (diff)
downloadaur-63cd6c6fc05cd18878e6bb05def72856c847975e.tar.gz
Add a basic changelog, include Debian changelog and license files
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD4
-rw-r--r--changes4
3 files changed, 9 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 305764037de6..7abbb01e46cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = vivaldi-codecs-ffmpeg-extra-bin
pkgver = 80.0.3987.87
pkgrel = 1
url = https://packages.ubuntu.com/bionic/amd64/chromium-codecs-ffmpeg-extra/download
+ changelog = changes
arch = x86_64
license = LGPL
depends = vivaldi
diff --git a/PKGBUILD b/PKGBUILD
index 0d28469bb217..f5f6f80ddf5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ arch=("x86_64")
url="https://packages.ubuntu.com/bionic/amd64/chromium-codecs-ffmpeg-extra/download"
license=('LGPL')
depends=('vivaldi' 'perl' 'wget')
+changelog="changes"
provides=(
'vivaldi-ffmpeg-codecs'
)
@@ -25,9 +26,12 @@ md5sums=("8ce0cc80a5509d00ec5717811df79e77")
prepare() {
cd "$srcdir"
tar -xJf data.tar.xz
+ gzip -f usr/share/doc/chromium-codecs-ffmpeg-extra/copyright
}
package() {
VIVALDI_VERSION=$(cat /opt/vivaldi/vivaldi | perl -ne '/(?:VIVALDI_VERSION=.)(\d*\.\d*)/ and print "$1";')
install -Dm644 "$srcdir/usr/lib/chromium-browser/libffmpeg.so" "$pkgdir/opt/vivaldi/libffmpeg.so.$VIVALDI_VERSION"
+ install -Dm644 "usr/share/doc/chromium-codecs-ffmpeg-extra/copyright.gz" "$pkgdir/usr/share/doc/$pkgname/copyright.gz"
+ install -Dm644 "usr/share/doc/chromium-codecs-ffmpeg-extra/changelog.Debian.gz" "$pkgdir/usr/share/doc/$pkgname/changelog.Debian.gz"
}
diff --git a/changes b/changes
new file mode 100644
index 000000000000..de86272c0dfa
--- /dev/null
+++ b/changes
@@ -0,0 +1,4 @@
+Arch Linux package changes:
+ https://aur.archlinux.org/cgit/aur.git/log/?h=vivaldi-codecs-ffmpeg-extra-bin
+Original Ubuntu package changes:
+ /usr/share/doc/vivaldi-codecs-ffmpeg-extra-bin/changelog.Debian.gz