diff options
author | FabioLolix | 2023-03-10 23:28:24 +0100 |
---|---|---|
committer | FabioLolix | 2023-03-10 23:28:24 +0100 |
commit | 58e13173a042261ea101cae6a84fcda3d1449d61 (patch) | |
tree | 4d4a1ab35efc8f60a0308c475ca86379e6f6db88 | |
parent | d91f159cbb41d7ff2f5da9c7ba7cfd7fadc73406 (diff) | |
download | aur-58e13173a042261ea101cae6a84fcda3d1449d61.tar.gz |
revision
-rwxr-xr-x | .SRCINFO | 7 | ||||
-rwxr-xr-x | PKGBUILD | 11 | ||||
-rw-r--r-- | dvdae.install | 11 |
3 files changed, 21 insertions, 8 deletions
@@ -1,8 +1,9 @@ pkgbase = dvdae-bin pkgdesc = DVD audio extract & ripping tool for extracting streams from DVD-Audio & Video discs and save them as OGG, MP3, Wave or FLAC files pkgver = 8.4.1 - pkgrel = 1 + pkgrel = 2 url = https://www.dvdae.com/ + install = dvdae.install arch = x86_64 license = custom: Computer Application Studio EULA makedepends = chrpath @@ -12,9 +13,9 @@ pkgbase = dvdae-bin depends = libvorbis depends = libsm depends = alsa-lib - source = https://www.dvdae.com/dvdae/dvdae_8.4.1_amd64.deb source = https://www.dvdae.com/license.htm - sha256sums = 8a8de84078471bd877460610d1f51bdb438f2f576c2f16f0b95dc155482346b2 sha256sums = 6d780e47d8c961a64fb12815872f2bf622018ff0623a9dd82abe59790cee0550 + source_x86_64 = https://www.dvdae.com/dvdae/dvdae_8.4.1_amd64.deb + sha256sums_x86_64 = 176f4b55e64e18426283f73ae737b95cff76aa0a0829b1031d07a68f519b9353 pkgname = dvdae-bin @@ -4,17 +4,18 @@ pkgname=dvdae-bin pkgver=8.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="DVD audio extract & ripping tool for extracting streams from DVD-Audio & Video discs and save them as OGG, MP3, Wave or FLAC files" arch=(x86_64) url="https://www.dvdae.com/" license=('custom: Computer Application Studio EULA') depends=(flac1.3 gtk3 lame libvorbis libsm alsa-lib) makedepends=(chrpath) -source=("https://www.dvdae.com/dvdae/dvdae_${pkgver}_amd64.deb" - "https://www.dvdae.com/license.htm") -sha256sums=('8a8de84078471bd877460610d1f51bdb438f2f576c2f16f0b95dc155482346b2' - '6d780e47d8c961a64fb12815872f2bf622018ff0623a9dd82abe59790cee0550') +install=dvdae.install +source=("https://www.dvdae.com/license.htm") +source_x86_64=("https://www.dvdae.com/dvdae/dvdae_${pkgver}_amd64.deb") +sha256sums=('6d780e47d8c961a64fb12815872f2bf622018ff0623a9dd82abe59790cee0550') +sha256sums_x86_64=('176f4b55e64e18426283f73ae737b95cff76aa0a0829b1031d07a68f519b9353') package() { cd "$srcdir" diff --git a/dvdae.install b/dvdae.install new file mode 100644 index 000000000000..79e93f142ce5 --- /dev/null +++ b/dvdae.install @@ -0,0 +1,11 @@ +post_install() { + echo 'run as user' + setcap cap_dac_override,cap_sys_rawio=ep /usr/bin/dvdae + setcap cap_dac_override,cap_sys_rawio=ep /usr/bin/dvdae-gui +} + +post_upgrade() { + echo 'run as user' + setcap cap_dac_override,cap_sys_rawio=ep /usr/bin/dvdae + setcap cap_dac_override,cap_sys_rawio=ep /usr/bin/dvdae-gui +} |