blob: 7d948b23df890b9e86198f1031583aeff75e0225 (
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
|
# Maintainer: Storm Dragon <stormdragon2976@gmail.com>
pkgname=sndup-linux-git
pkgver=r6.aa62c5f
pkgrel=1
pkgdesc="A client to upload audio files to the sndup.net autdio sharing service."
arch=('any')
url="http://git.2mb.codes/~stormdragon2976/sndup-linux"
license=('WTFPL')
depends=('bash' 'curl' 'xidel')
makedepends=('git')
optdepends=('xclip: Copy links to the clipboard')
source=(git+https://git.2mb.codes/~stormdragon2976/sndup-linux)
md5sums=('SKIP')
pkgver()
{
cd "sndup-linux"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package()
{
cd "$srcdir/sndup-linux"
install -d "$pkgdir/usr/bin"
install -d "$pkgdir/usr/share/licenses/${pkgname}"
install -m755 "sndup" "$pkgdir/usr/bin"
install -m666 "license.txt" "$pkgdir/usr/share/licenses/${pkgname}"
}
|